A public domain binary encoding library for TypeScript.
Utility to parse a string bytes to bytes and vice-versa
Sizeof of a JavaScript object in Bytes
Various operations on Uint8Array data
Strictly typed event emitter interface for TypeScript 3.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Returns an array of Typed Array names that are available in the current environment
Robustly get the byte offset of a Typed Array
Robustly get the byte length of a Typed Array
Get the ArrayBuffer out of a TypedArray, robustly.
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
A simple list of possible Typed Array names.
Robustly get the length of a Typed Array
An iteration of the Node.js core streams with a series of improvements
Peek the first couple of bytes from a stream
Sniff the encoding from a HTML byte stream
Strictly typed event emitter interface for TypeScript 3. Original Implementation by Andy Wermke (https://github.com/andywer)
URL and cookie safe UIDs
Convert bytes to a human readable string: 1337 → 1.34 kB
A minimal UTF8 implementation for number arrays.
Truncate string to given length in bytes
Detect Filetype by bytes
JSON Schema TypeScript definitions with complete inline documentation.
> Even though this module is publicly accessible, we do not recommend using it in projects outside of [Transloadit](https://transloadit.com). We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to Se
Fully typed data size units (IEC and SI) with operator overloading.
Represent bytesize in decimal or binary prefix unit
A bag of bytes you can put any `Copy` type into.
Detect MIME types from file extensions, filenames, and binary content using magic byte signatures. Includes 200+ extension mappings, 30+ magic byte patterns, custom registration, charset detection, Accept header parsing, and content negotiation.
Tool to parse the first bytes of a file and compare it to a list of known mime types.
Basic file type checks based on a few header bytes
Extend ActionDispatch::HTTP::UploadedFile to detect file type from magic byte
Monkeypatches File and IO to include a '''magic_number_type''' method which returns a symbol, and a '''mime_type''' method which returns a string, representing the mime type guessed.
UUIDs that are byte-ordered lamport clocks (timestamp, worker_id). Much simpler than type-1 UUID's crappy, weirdo layout.
Typed UUIDs 2 bytes are reserved in the UUID for the class enum
Local FastImage finds the size or type of an image reading as little bytes as needed.
solidity-typed - "zero-dependency" 100%-solidity compatible data type and application binary interface (abi) machinery incl. bool, (frozen) string, address, bytes, uint, int, enum, struct, array, mapping, event, and more for solidity-inspired contract (blockchain) programming languages incl. rubidity, rubysol et al
Apple uses a system of serialization (I think its called dmap…) where a 4-byte string tells of the information following, both its type and what it represents. Its used in the DAAP (Protocol), QuickTime mov structure and doubtless many other places.
MimeTyper is a comprehensive, pure Ruby MIME type detection library that uses magic bytes and file extensions to accurately identify file types. Built for reliability and simplicity.
This extension provides access to the libmagic library, which is used (e.g. by the file(1) command) to identify the type of a binary or text file based on its initial bytes. The module offers a simple interface, with the bulk of the interface with libmagic being performed behind-the-scenes.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.