asn1_encode_boolean(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

asn1_encode_boolean β€” bestie, this is the one that encodes a boolean value to ASN.1 ✨


πŸŽ€ SYNOPSIS πŸŽ€

unsigned char * asn1_encode_boolean (unsigned char *data , const
       unsigned char *end_data , bool val );

🌸 ARGUMENTS 🌸

  • data β€” pointer to encode at πŸ‘‰ this is where the magic goes
  • end_data β€” the end of data pointer, and no cap it points one beyond the last usable byte in data β€” like, it's the boundary guard, respect it πŸ’…
  • val β€” the boolean true/false value, literally just true or false, that's the whole vibe πŸ¦‹

🌈 SEE ALSO 🌈

Kernel file ./lib/asn1_encoder.c β€” and the whole ASN.1 encoder friend group, they're all iconic πŸ‘‘


okay that's the whole page, go forth and encode booleans responsibly 🫢

mwah πŸ’‹ β€” this one's from ./lib, dated October 2026, and it's literally called asn1_encode_boolean(9). periodt. πŸ’œ

πŸ“¦ where this page comes from