The following diagrams show the logical bit and byte numbering model used by the byte/bit manipulation functions described in these sections.
The model is big endian or little endian independent. The numbering system used for numeric data types is consistent with that used for byte strings. This simplifies the development of appropriate bit masks.
When using byte/bit manipulation functions, see the following numeric and byte data types when deciding what mask (bit_mask_arg) to apply to the target data (target_arg).