Number of Bytes

Size (in bytes) of an 8-bit unsigned integer.

Usage

var UINT8_NUM_BYTES = require( '@stdlib/constants/uint8/num-bytes' );

UINT8_NUM_BYTES

Size (in bytes) of an 8-bit unsigned integer.

var bool = ( UINT8_NUM_BYTES === 1 );
// returns true

Examples

var UINT8_NUM_BYTES = require( '@stdlib/constants/uint8/num-bytes' );

console.log( UINT8_NUM_BYTES );
// => 1
Did you find this page helpful?