NNG_MSG_LEN(3)
π 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
- ubuntu stonking: libnng-dev 1.12.0-1 Β· MIT OR Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms