A typescript API which facilitates functional programming.
Get the byteOffset out of a DataView, robustly.
Get the byteLength out of a DataView, robustly.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte length of a Typed Array
Robustly get the byte offset of a Typed Array
Get utf8 byte length of string
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
Strip UTF-8 byte order mark (BOM) from a string
Node addon for string extraction for msgpackr
Sniff the encoding from a HTML byte stream
LEB128 utilities for Node
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Conversion of JavaScript primitives to and from Buffer with binary order matching natural primitive order
Platform byte order.
Windows legacy GUID parser
Bytes utility functions for ethers.
Base64 encoding/decoding in pure JS
See our api docs https://serialport.io/docs/api-parser-byte-length
Crockford base-32 checksum encoding
See our api docs https://serialport.io/docs/api-parser-inter-byte-timeout
Node addon for string extraction for cbor-x
Like `string.slice()` but bytewise
Count bytes passing through a stream