buffer - The buffer module from node.js, for the browser.

  •        174

With browserify, simply require('buffer') or use the Buffer global and you will get this module.The goal is to provide an API that is 100% identical to node's Buffer API. Read the official docs for the full list of properties, instance methods, and class methods that are supported.



base64-js : ^1.0.2
ieee754 : ^1.1.4



Related Projects

msgpack-lite - Fast Pure JavaScript MessagePack Encoder and Decoder / msgpack.org[JavaScript]

  •    Javascript

A CLI tool bin/msgpack converts data stream from JSON to MessagePack and vice versa. Browser version msgpack.min.js is also available. 50KB minified, 14KB gziped.


  •    Javascript

A fast and complete ByteBuffer implementation using either ArrayBuffers in the browser or node Buffers under node.js, generated from a single source tree through MetaScript. The library is compatible with CommonJS and AMD loaders and is exposed globally as dcodeIO.ByteBuffer if neither is available.

jDataView - DataView. Extended. Anywhere.

  •    Javascript

jDataView provides convenient way to read and/or modify binary data in all the browsers. It follows the DataView Specification and even extends it for a more practical use. There are three ways to read a binary file from the browser.

avsc - Avro for JavaScript :zap:

  •    Javascript

Pure JavaScript implementation of the Avro specification. avsc is compatible with all versions of node.js since 0.11 and major browsers via browserify (see the full compatibility table here). For convenience, you can also find compiled distributions with the releases (but please host your own copy).

webassemblyjs - Toolchain for WebAssembly

  •    Javascript

See WebAssembly.js.org for more information. Some packages rely on Node's Buffer which isn't available in other environments. We recommend you to add https://github.com/feross/buffer in your building process.

jBinary - High-level API for working with binary data.

  •    Javascript

jBinary makes it easy to create, load, parse, modify and save complex binary files and data structures in both browser and Node.js. It works on top of jDataView (DataView polyfill with convenient extensions).

hasha - Hashing made simple. Get the hash of a buffer/string/stream/file.

  •    Javascript

Hashing made simple. Get the hash of a buffer/string/stream/file.Convenience wrapper around the core crypto Hash class with simpler API and better defaults.

bl - Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

  •    Javascript

A Node.js Buffer list collector, reader and streamer thingy.The original buffers are kept intact and copies are only done as necessary. Any reads that require the use of a single original buffer will return a slice of that buffer only (which references the same memory as the original buffer). Reads that span buffers perform concatenation as required and return the results transparently.

imagemin - Tense, nervous, minifying images?

  •    Javascript

Returns Promise<Object[]> in the format {data: Buffer, path: String}.Files to be optimized. See supported minimatch patterns.

proxymachine - A simple TCP routing proxy built on EventMachine that lets you configure the routing logic in Ruby

  •    Ruby

ProxyMachine is a simple content aware (layer 7) TCP routing proxy built on EventMachine that lets you configure the routing logic in Ruby. The idea here is simple. For each client connection, start receiving data chunks and placing them into a buffer. Each time a new chunk arrives, send the buffer to a user specified block. The block's job is to parse the buffer to determine where the connection should be proxied. If the buffer contains enough data to make a determination, the block returns the address and port of the correct backend server. If not, it can choose to do nothing and wait for more data to arrive, close the connection, or close the connection after sending custom data. Once the block returns an address, a connection to the backend is made, the buffer is replayed to the backend, and the client and backend connections are hooked up to form a transparent proxy. This bidirectional proxy continues to exist until either the client or backend close the connection.

TPCircularBuffer - A simple, fast circular buffer implementation

  •    C

A simple C implementation for a circular (ring) buffer. Thread-safe with a single producer and a single consumer, using OSAtomic.h primitives, and avoids any need for buffer wrapping logic by using a virtual memory map technique to place a virtual copy of the buffer straight after the end of the real buffer. Initialisation and cleanup: TPCircularBufferInit and TPCircularBufferCleanup to allocate and free resources.

MaskedOcclusionCulling - Example code for the research paper "Masked Software Occlusion Culling"; implements an efficient alternative to the hierarchical depth buffer algorithm

  •    C++

This code accompanies the research paper "Masked Software Occlusion Culling", and implements an efficient alternative to the hierarchical depth buffer algorithm. Our algorithm decouples depth values and coverage, and operates directly on the hierarchical depth buffer. It lets us efficiently parallelize both coverage computations and hierarchical depth buffer updates. Added the ability to merge 2 depth buffers, this allows both an alterative method for parallelizing buffer creation and a way to reduce silhouette bleed when input data cannot be roughly sorted from front to back, for example rendering large terrain patches with foreground occluders in an open world game engine.

http-browserify - node's http module, but for the browser

  •    Javascript

The http module from node.js, but for browsers.When you require('http') in browserify, this module will be loaded.

node-snappy - Nodejs bindings to Google's Snappy compression library

  •    Javascript

Compress input, which can be a Buffer or a String. The callback function will be called with a single error if the operation failed for any reason. If successful the first argument will be null and the second argument will be the value as a ``Buffer`.

browserify-shim - 📩 Makes CommonJS incompatible files browserifyable.

  •    Javascript

For a version compatible with browserify@1.x run npm install browserify-shim@1.x instead. For a version compatible with the v2 API npm install browserify-shim@2.x instead.

committia.vim - A Vim plugin for more pleasant editing on commit messages

  •    Vim

When you type git commit, Vim starts and opens a commit buffer. This plugin improves the commit buffer. committia.vim splits the buffer into 3 windows; edit window, status window and diff window. You no longer need to repeat scroll and back to the former position in order to see a long commit diff. If the width of Vim window is too narrow (160 characters by default), committia.vim falls back to single column mode, which has 2 windows; edit window and diff window.

vim-buftabline - Forget Vim tabs – now you can have buffer tabs

  •    Vim

If you don’t know anything about buffers, the minimum you have to know is that a buffer in Vim essentially means a file, and if you set hidden, Vim can keep files open without necessarily displaying them on screen. You can then use the :bnext and :bprev commands to change which buffer is being displayed in the current window, and :ls to look at the list of buffers. For the full story, read :help windows.txt.