Connected: An Internet Encyclopedia
RFC 1832 - 3.2. Unsigned Integer

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1832
Up: 3. XDR DATA TYPES
Prev: 3.1 Integer
Next: 3.3 Enumeration

### 3.2. Unsigned Integer

An XDR unsigned integer is a 32-bit datum that encodes a nonnegative integer in the range [0,4294967295]. It is represented by an unsigned binary number whose most and least significant bytes are 0 and 3, respectively. An unsigned integer is declared as follows:

             unsigned int identifier;

               (MSB)                   (LSB)
                +-------+-------+-------+-------+
                |byte 0 |byte 1 |byte 2 |byte 3 |             UNSIGNED INTEGER
                +-------+-------+-------+-------+
                <------------32 bits------------>

Next: 3.3 Enumeration

Connected: An Internet Encyclopedia
RFC 1832 - 3.2. Unsigned Integer