Some utility functions for transforming bytes to other representations.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Modern byte, encoding, converter registry, and PEM utilities for TypeScript projects.
Robustly get the byte length of a Typed Array
Robustly get the byte offset of a Typed Array
Get the byteOffset out of a DataView, robustly.
Get the byteLength out of a DataView, robustly.
Framework-independent loaders for 3D graphics formats
Bytes utility functions for ethers.
Get utf8 byte length of string
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
URL and cookie safe UIDs
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
Random utility functions for ethers.
Platform byte order.
Strip UTF-8 byte order mark (BOM) from a string
Windows legacy GUID parser
See our api docs https://serialport.io/docs/api-parser-byte-length
Node addon for string extraction for msgpackr
See our api docs https://serialport.io/docs/api-parser-inter-byte-timeout
Sniff the encoding from a HTML byte stream
General utilities for plugins to use
LEB128 utilities for Node
Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️