Description
The mongodb code base now has utilities for reading and writing data from buffers that efficiently abstracts away endianness and alignment issues. For portability among compiler implementations and hardware architectures, the storage engines should use these instead of C-style or reinterpret casts to structures.