uint64_pack(3)
π NAME π
okay so bestie, meet uint64_pack β she writes an unsigned little-endian 64-bit integer. that's it, that's her whole thing, and she does it flawlessly. periodt π
β¨ SYNTAX β¨
#include <libowfat/uint64.h>
uint64 u;
void uint64_pack(char s[4],uint64 u);
like, that's the whole call. include the header, declare your uint64 u;, and call her with a char buffer s and your value u. iconic behavior fr fr πΈ
π¦ DESCRIPTION π¦
So first things first: uint64 is a 64-bit unsigned integer type. that's the type we're playing with here. it's giving very-many-bits energy. π
And uint64_pack? She portably writes a uint64 u to s in little-endian byte order. notice the word portably β that's lowkey the whole flex of this function. you hand her your u and your buffer s, and she lays those bytes down in little-endian order, no drama, no surprises. β¨
little-endian byte order, bestie. she said what she said and she meant it. π«Ά
π SEE ALSO π
go read those too, they're her sisters and they also ate π
and that's the page!! this lil masterpiece lives in the Library Functions Manual, section 3, and she answers to uint64_pack(3) β forever and always π bye bestie, go pack some integers π¦βπ
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms