Home
ObjexxFCL 4.2
 

byte Class

The ObjexxFCL byte class provides a one-byte integer similar to Fortran's INTEGER*1. A byte acts in almost all respects like a one-byte integer, supporting the full range of math and bit operations. Implicit conversion to and from short is provided. Sources using byte must include the byte.hh header file.

sbyte is provided as an alternate name for byte that is more clearly a signed value type. Sources using sbyte can include byte.hh or sbyte.hh.

The ubyte class is similar to byte but represents an unsigned byte.