Bit and Byte Numbering Model - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

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).