Scroll to navigation

ENDIANNESS(3) Library Functions Manual ENDIANNESS(3)

NAME

Endianness - None The BSON specification dictates that the encoding format is in little‐endian. Many implementations simply ignore endianess 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(3) when appropriate instead of dereferencing and properly convert to and from the hoste endian format. We expect the compiler intrinsics to optimize it to a dereference when possible.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
2016‐10‐12 libbson