1BSON_ENDIANNESS(3)                  libbson                 BSON_ENDIANNESS(3)
2
3
4

NAME

6       bson_endianness - Endianness
7
8       The  BSON  specification  dictates  that the encoding format is in lit‐
9       tle-endian. Many implementations simply  ignore  endianness  altogether
10       and  expect  that they are to be run on little-endian. Libbson supports
11       both Big and Little Endian systems. This means we use memcpy() when ap‐
12       propriate instead of dereferencing and properly convert to and from the
13       host endian format. We expect the compiler intrinsics to optimize it to
14       a dereference when possible.
15

AUTHOR

17       MongoDB, Inc
18
20       2017-present, MongoDB, Inc
21
22
23
24
251.17.6                           Jun 03, 2021               BSON_ENDIANNESS(3)
Impressum