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
12       appropriate  instead  of dereferencing and properly convert to and from
13       the host endian format. We expect the compiler intrinsics  to  optimize
14       it to a dereference when possible.
15

AUTHOR

17       MongoDB, Inc
18
20       2017-present, MongoDB, Inc
21
22
23
24
251.14.0                           Feb 22, 2019               BSON_ENDIANNESS(3)
Impressum