uint64_read_big(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ uint64_read_big β€” Library Functions Manual ✨

okay bestie, gather round, we're doing a lil manual page moment πŸ’– this one lives in the Library Functions Manual and it's genuinely so cute and simple, no cap.


πŸŽ€ NAME πŸŽ€

uint64_read_big β€” read an unsigned big-endian 64-bit integer 🌸

like... that's it. that's the whole job. she reads. she returns. she slays.


πŸ¦‹ SYNTAX πŸ¦‹

#include <libowfat/uint64.h>

uint64 uint64_read_big(const char s[4]);

no notes. iconic header, iconic signature πŸ’…


🌈 DESCRIPTION 🌈

so first things first, let's talk about uint64 β€” it's literally just a 64-bit unsigned integer type. that's her whole identity. a big ol' pile of unsigned bits, 64 of them, and we love her for it πŸ’œ

and uint64_read_big? she portably reads a uint64 as it's stored on a big-endian architecture from s, and then hands it right back to you. 🫢

key word here is portably β€” the whole point is that you don't have to care what machine you're on, because she's gonna give you the big-endian interpretation either way. that's the vibe. that's the whole assignment. ✨

πŸ’– SEE ALSO πŸ’–

go read those next, they're her sisters fr fr 🧚


and that's the page!! mwah πŸ˜­πŸ’– this was uint64_read_big(3) β€” that's the source/version, the date, and the whole footer energy, all wrapped up in one lil sign-off for you. bye bestie, go read your big-endian bytes responsibly πŸ‘‘β­πŸ“