uint32_unpack_big(3)
β¨ NAME β¨
uint32_unpack_big β read an unsigned big-endian 32-bit integer π
π«Ά SYNTAX π«Ά
okay bestie, here's the whole vibe, literally copy-paste coded:
#include <libowfat/uint32.h>
uint32 u;
void uint32_unpack_big(const char s[4],uint32 *u);
like. that's it. that's the whole thing. π
π DESCRIPTION π
So uint32 is a 32-bit unsigned integer type, and it's normally either unsigned int or unsigned long depending on what your machine is giving. π
uint32_unpack_big portably reads a uint32 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's just translating endianness for you so you don't have to think about it. iconic behavior fr fr. π¦
it's giving "i handle the byte-order drama so you don't have to." main character energy honestly. πβ¨
π SEE ALSO π
and that's the tea, bestie π this little baddie lives in the Library Functions Manual, and you can find it filed under uint32_unpack_big(3). go forth and unpack those bytes. periodt. ππΈπ«Ά
π¦ 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