ONC+ Developer's Guide

Unsigned Integer

An XDR unsigned integer is a 32-bit datum that encodes a nonnegative integer in the range [0, 4294967295]. The integer is represented by an unsigned binary number that has most- and least-significant bytes of 0 and 3 respectively.


An unsigned integer is declared as follows.

unsigned int identifier;

Unsigned Integer Encoding

Text describes graphic