Node.js bytecode compiler
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.
LEB128 utilities for Node
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
Platform byte order.
Get the byteLength out of a DataView, robustly.
Get the byteOffset out of a DataView, robustly.
Get utf8 byte length of string
Convert a bytes or octets value (e.g. 34565346) to a human-readable string ('34.6 MB'). Choose between metric or IEC units.
a fast, efficient buffer writer
Minimalist yEnc and dynEncode encoder and decoder library for browser and NodeJS
Strip UTF-8 byte order mark (BOM) from a string
JavaScript binary parser for any browser or environment.
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
Bytes utility functions for ethers.
Count bytes passing through a stream
Get the real byte length of a string.
Get the UTF-8 byte length of a string
Local FastImage finds the size or type of an image reading as little bytes as needed.
When you have a project in which you are not using Mongoid::Timestamps and you want to mock an object's creation time, you have to do some cumbersome operations in order to get those first 4 bytes of the ObjectId to represent the seconds since the Unix epoch that you want for that object. Particularly, if you want to have two objects with the same creation time, it would not suffice to generate the IDs via the BSON::ObjectId.from_time method, since it would yield the same ID for both objects, and you probably do not want them to be seen as the same object. This gem solves this little annoying issue by generating a unique ID for the given timestamp by using the other 8 bytes in ObjectId to generate the needed additional entropy.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.