Like `string.slice()` but bytewise
Node addon for string extraction for msgpackr
Node addon for string extraction for cbor-x
Slice a string with ANSI escape codes
Get utf8 byte length of string
Unicode aware string truncation that given a max byte size will truncate the string to or just below that size
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
ByteStream is a library making possible to manipulates single bytes and bits on pure JavaScript
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Get the byteLength out of a DataView, robustly.
Robustly get the byte offset of a Typed Array
Robustly get the byte length of a Typed Array
Get the byteOffset out of a DataView, robustly.
slice stream like buffer/string
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Windows legacy GUID parser
A minimal UTF8 implementation for number arrays.
A minimal base64 implementation for number arrays.
Strip UTF-8 byte order mark (BOM) from a string
Base64 encoding/decoding in pure JS
Get the UTF-8 byte length of a string
Get the real byte length of a string.
Conversion of JavaScript primitives to and from Buffer with binary order matching natural primitive order
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.