2.1 KiB
2.1 KiB
Uint8
Base utilities for unsigned 8-bit integers.
Usage
var ns = require( '@stdlib/number/uint8/base' );
ns
Base utilities for unsigned 8-bit integers.
var o = ns;
// returns {...}
fromBinaryStringUint8( bstr )
: create an unsigned 8-bit integer from a literal bit representation.toBinaryStringUint8( x )
: return a string giving the literal bit representation of an unsigned 8-bit integer.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/number/uint8/base' );
console.log( objectKeys( ns ) );