Number of Bytes

Size (in bytes) of a 16-bit signed integer.

Usage

var INT16_NUM_BYTES = require( '@stdlib/constants/int16/num-bytes' );

INT16_NUM_BYTES

Size (in bytes) of a 16-bit signed integer.

var bool = ( INT16_NUM_BYTES === 2 );
// returns true

Examples

var INT16_NUM_BYTES = require( '@stdlib/constants/int16/num-bytes' );

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