function sizeOf( dtype ) {
	switch ( dtype ) {
	case 'float64':
		return FLOAT64;
	case 'int32':
		return INT32;
	case 'uint32':
		return UINT32;
	case 'float32':
		return FLOAT32;
	case 'int8':
		return INT8;
	case 'uint8':
		// Fall-through...
	case 'uint8c': // eslint-disable-line no-fallthrough
		return UINT8;
	case 'int16':
		return INT16;
	case 'uint16':
		return UINT16;
	case 'float16':
		return FLOAT16;
	case 'complex128':
		return COMPLEX128;
	case 'complex64':
		return COMPLEX64;
	default:
		throw new TypeError( format( 'invalid argument. Must provide a recognized type. Value: `%s`.', dtype ) );
	}
}
Returns the size (in bytes) of the canonical binary representation of a specified numeric type.

@param {string} dtype - numeric type
@throws {TypeError} must provide a recognized numeric type
@returns {integer} size in bytes

@example
var s = sizeOf( 'int8' );
// returns 1

@example
var s = sizeOf( 'uint8' );
// returns 1

@example
var s = sizeOf( 'int16' );
// returns 2