Integer Data Types

WinHex & X-Ways

Integer Data Types

 

Format/Type                                Range                                                                Example

                                                                                                         

signed 8 bit                                -128...127                                                FF = -1

unsigned 8 bit                                0...255                                                    FF = 255

signed 16 bit                                -32,768...32,767                                                00 80 = -32,768

unsigned 16 bit                                0...65,535                                                00 80 = 32,768

signed 24 bit                                -8,388,608...8,388,607                00 00 80 = -8,388,608

unsigned 24 bit                                0...16,777,215                                00 00 80 = 8,388,608

signed 32 bit                                -2,147,483,648...2,147,483,647                00 00 00 80 = -2,147,483,648

unsigned 32 bit                                0...4,294,967,295                                00 00 00 80 = 2,147,483,648

signed 64 Bit                                -2^63...2^63-1                                                00 00 00 00 00 00 00 80 = -2^63
 

Unless stated otherwise, multi-byte numbers are stored in little-endian format, meaning that the first byte of a number is the least significant and the last byte is the most significant. This is the common format for computers running Microsoft Windows. Following the little-endian paradigm, the hexadecimal values 10 27 can be interpreted as the hexadecimal number 2710 (decimal: 10,000).

 

The Data Interpreter is capable of interpreting data as all of the aforementioned integer types, plus unsigned 48-bit integers.