Int<NUM>

Int<NUM> is an integer with a fixed byte length defined by NUM.

  • It is always represented in Big-Endian format, where the most significant byte is stored first.

  • Int<NUM> is unsigned and does not support negative values.

  • Overflow results in [add your chosen behavior, e.g., exception, truncation, or wrapping].

Type
Example
Value
Mapped Type

Int<2>

0x0064

100

uInt16

Int<3>

0x002710

10,000

uInt24

Int<4>

0x000F4240

1,000,000

uInt32

Int<6>

0x000005F5E100

100,000,000

uInt48

Int<8>

0x000000E8D4A51000

1,000,000,000,000

uInt64

Last updated