Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
API-compatible Node.JS Buffer for Ender.js (browser)
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json

README.md

Buffer

The goal is to use UInt8Array as a buffer backend that completely follows the Node.JS API.

For now, however, this just aliases Array as Buffer which works for many use cases.

Current Implementation

var Buffer;
(function () {
  "use strict";

  function createBuffer() {
    return Array;
  }

  if ('undefined' === typeof Buffer) {
    Buffer = createBuffer();
  }

  module.exports = Buffer;
}());
Something went wrong with that request. Please try again.