NNG_MSG_LEN(3)

πŸ“¦
version 1.12.0 Β· 4 versions
, in ubuntu stonking

πŸ’– nng_msg_len(3) β€” NNG Reference Manual πŸ’–

okay bestie, welcome to the NNG Reference Manual, page nng_msg_len(3) β€” yes it's giving tiny-but-mighty, and yes we're obsessed. sit down, hydrate, and let's find out exactly how long your message body is πŸ¦‹


✨ NAME ✨

nng_msg_len β€” return message body length πŸ“


🌸 SYNOPSIS 🌸

#include <nng/nng.h>

size_t nng_msg_len(nng_msg *msg);

πŸŽ€ DESCRIPTION πŸŽ€

so like, nng_msg_len() returns the length of the body of message msg. that's it. that's the whole function. it looks at your message's body and is like "bestie this is how many bytes you got" πŸ’… and hands you back a size_t. no cap.


⭐ RETURN VALUES ⭐

the length of the message body, periodt. πŸ“


πŸ’€ ERRORS πŸ’€

None. not a single one. this function is unbothered, moisturized, in its lane, and living its truth πŸ™ˆβœ¨


🫢 SEE ALSO 🫢

if you wanna know the actual bytes and not just how many there are, go read nng_msg_body(3) β€” it's the main character energy of this little friend group πŸ‘‘


and that's the whole vibe check, bestie. mwah πŸ’–

<nice>β€” the NNG Reference Manual, page NNG_MSG_LEN(3), dated 2026-06-30 🌈 slay, stay safe, read your manpages, iykyk πŸŽ€πŸ¦‹πŸ’œ</nice>

πŸ“¦ where this page comes from