uint64_unpack(3)
π uint64_unpack(3) π
okay bestie, so this page lives in the Library Functions Manual and it's all about one lil' function called uint64_unpack. sit with me, it's gonna be quick and cute π
β¨ NAME β¨
uint64_unpack β read an unsigned little-endian 64-bit integer π§
β¨ SYNTAX β¨
first, the vibe setup β you gotta pull in the header:
#include <libowfat/uint64.h>
then you declare your variable, like so:
uint64 u;
and here's the function itself, exactly as it is, no notes:
void uint64_unpack(const char s[4],uint64 *u);
β¨ DESCRIPTION β¨
so uint64 is a 64-bit unsigned integer type. big girl numbers only, no negativity allowed π
and uint64_unpack? she portably reads a uint64 β as it would be stored on a little-endian architecture β from s, and writes it into u in the native byte order. so like, it takes the little-endian representation and hands you back the version your own machine actually speaks. translation service but make it bytes π¦
β¨ SEE ALSO β¨
okay that's the whole page, you ate it π«Ά this was uint64_unpack(3) from the Library Functions Manual β go forth and unpack responsibly, mwah πβ¨π
π¦ 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