Returns the size (in bytes) of the canonical binary representation of a specified numeric type.
The following numeric types are supported:
numeric type
size in bytes
var s = sizeOf( 'int8' ); // returns 1
var s = sizeOf( 'uint8' ); // returns 1
var s = sizeOf( 'int16' ); // returns 2
Returns the size (in bytes) of the canonical binary representation of a specified numeric type.
Notes
The following numeric types are supported: