SoByteStream(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ SoByteStream ✨

okay bestie, welcome to the SoByteStream(3) page, brought to you by Coin πŸ’– it's a class, it lives in section 3 of the manual, and honestly? it's giving "I turn your scene graph into a lil pile of bytes and back again" energy. no cap.


🌸 NAME 🌸

SoByteStream β€” literally just that, the class name, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

πŸ’… Public Member Functions

  • void convert (SoNode *node, SbBool binary=TRUE) β€” takes a node and turns it into stream data. binary defaults to TRUE, so unless you say otherwise, it's binary mode, periodt.
  • void convert (SoPath *path, SbBool binary=TRUE) β€” same deal but for a path instead of a node. binary still defaults to TRUE ✨
  • void convert (SoPathList *pl, SbBool binary=TRUE) β€” yep, and this one converts a whole path list. binary = TRUE by default, again 🫢
  • void * getData (void) β€” hands you back the raw data as a void *. iconic.
  • uint32_t getNumBytes (void) β€” tells you how many bytes are in there, as a uint32_t. know your size, queen πŸ‘‘
  • void copy (void *d, size_t len) β€” copies stuff into d, and len is a size_t. go off.
  • SbBool isRawData (void) const β€” a lil const check that returns an SbBool, answering "is this raw data?" yes/no bestie πŸ’€

🌈 Static Public Member Functions

  • static SoPathList * unconvert (SoByteStream *stream) β€” static, takes a SoByteStream *, gives you back a SoPathList *. the reverse glow-up ✨
  • static SoPathList * unconvert (void *data, uint32_t bytesinstream) β€” also static, but this one takes void *data plus a uint32_t bytesinstream, and returns a SoPathList *. bytes in, path list out, slay πŸ’…

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. β€” so no human author to thank, it's just Doxygen doing its little automated thing 🧚


Version 4.0.10 🌟 Thu Jun 25 2026 00:00:00 🌸 that's the version, that's the date, and this whole page is served up courtesy of Coin πŸ’– mwah, bye bestie! πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from