uint64_unpack_big(3)
π uint64_unpack_big π
okay so bestie, welcome to the Library Functions Manual, section 3, where we read big numbers off the wire and make them make sense. this page is literally about uint64_unpack_big and it's shorter than your attention span, so let's GO π«Ά
β¨ NAME β¨
uint64_unpack_big β read an unsigned big-endian 64-bit integer π
πΈ SYNTAX πΈ
like, here's the whole vibe, copy it exactly bestie:
#include <libowfat/uint64.h>
uint64 u;
void uint64_unpack_big(const char s[4],uint64 *u);
π¦ DESCRIPTION π¦
so uint64 is a 64-bit unsigned integer type. that's it, that's the girl. a whole 64 bits of unsigned integer energy π
and uint64_unpack_big? she portably reads a uint64 as stored on a big-endian architecture β i.e. in network byte order β from s, and writes it into u in the native byte order. no cap. it just does the byte-order translation for you so you don't have to think about it, which is honestly so iconic of her β¨
lowkey the entire point:scomes in big-endian,ucomes out native. that's the glow-up. π«
π SEE ALSO π
and that's the whole page bestie, we ate and left no crumbs π this was uint64_unpack_big(3) from the Library Functions Manual β go read the SEE ALSOs, 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