Binary-integer encoding on IBM® i

Valid values for binary-integer encoding.

The following values are valid for the binary-integer encoding:

    ENIUND
    Undefined integer encoding.

    Binary integers are represented using an encoding that is undefined.

    ENINOR
    Normal integer encoding. Binary integers are represented in the conventional way:

    • The least significant byte in the number has the highest address of any of the bytes in the number; the most significant byte has the lowest address.
    • The least significant bit in each byte is next to the byte with the next higher address; the most significant bit in each byte is next to the byte with the next lower address.

    ENIREV
    Reversed integer encoding.

    Binary integers are represented in the same way as ENINOR, but with the bytes arranged in reverse order. The bits within each byte are arranged in the same way as ENINOR.