Returns true if a buffer is binary. Takes a buffer and does not read from the file system.
Conversion of JavaScript primitives to and from Buffer with binary order matching natural primitive order
Node.js Buffer API, for the browser
buffer operations
Cross-Platform Binary API
Convert a typed array to a Buffer without a copy
Node addon for string extraction for msgpackr
Source code handling classes for webpack
Detects if a file is binary in Node.js. Similar to Perl's -B.
Detect the file type of a file, stream, or data
A pure javascript CRC32 algorithm that plays nice with binary data
read and write binary structures and data types
Is this value a JS ArrayBuffer?
A port of the Brotli compression algorithm as used in WOFF2
Is this value a JS SharedArrayBuffer?
Modern Buffer API polyfill without footguns
Binary value packing and unpacking
a fast, efficient buffer writer
Determine if an object is a Buffer
Convert a Blob to a Buffer
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
Safer Node.js Buffer API
minimal implementation of a PassThrough stream
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
== DESCRIPTION: Protocol Buffers for Ruby. == FEATURES/PROBLEMS: * Compile .proto file to ruby script * Parse the binary wire format for protocol buffer * Serialize data to the binary wire format for protocol buffer
Interchange formats like json or xml are great to keep data visible, but due to their parse and pack complexity they aren't used in embedded applications. There are alternatives like msgpack or Google's protocol buffer, which allow a more binary representation of data, but these protcols are still heavy and developers tend to rather implement their own 'simple' binary protocols instead of porting or using the big ones.
This gem wraps the official C++ implementation of Cap'n Proto (libcapnp). From the Cap'n Proto documentation: "Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster."
This gem wraps the official C++ implementation of Cap'n Proto (libcapnp). From the Cap'n Proto documentation: "Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster."This is a fork of the original capn_proto gem by OneSignal
This gem wraps the official C++ implementation of Cap'n Proto (libcapnp). From the Cap'n Proto documentation: "Cap'n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is a extended version of the original gem Capnproto which adds RPC support visit the homepage to view usage
A Ruby gem for Google's Protocol Buffers messages using three different encodings JSON based syntax instead of the original binary protocol. Supported formats - Hashmap: A tipical JSON message, with key:value pairs where the key is a string representing the field name. - Tagmap: Very similar to Hashmap, but instead of having the field name as key it has the field tag number as defined in the proto definition. - Indexed: Takes the Tagmap format a further step and optimizes the size needed for tag numbers by packing all of them as a string, where each character represents a tag, and placing it as the first element of an array.