2.2.5.5.1.1 Integers
All integer types are represented in reverse byte order (little-endian) unless otherwise specified. Each integer takes a whole number of bytes as follows:
bit: 1 byte
tinyint: 1 byte
smallint: 2 bytes
int: 4 bytes
bigint: 8 bytes