bson_endianness(3)

bson_endianness3

Endianness the bson specification dictates that the encoding format is in little-endian. many implementations simply ignore endianness altogether and expect that they are to be run on little-endian. libbson supports both big and little endian systems. this means we use memcpy() when appropriate instead of dereferencing and properly convert to and from the host endian format. we expect the compiler intrinsics to optimize it to a dereference when possible.

Releases

4 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11
  4. 12

Author

MongoDB, Inc

From libbson-doc 1.23.1-1+deb12u3 in Debian 12 (Bookworm). Parsed by carta from the page's man source.