git ssb

0+

wanderer๐ŸŒŸ / buffer-pipe



Tree:
๐Ÿ“„.travis.yml
๐Ÿ“„LICENSE
๐Ÿ“„README.md
๐Ÿ“„index.js
๐Ÿ“„package.json
README.md

SYNOPSIS

NPM Package
Build Status
Coverage Status

js-standard-style

A simple pipe for buffers. Write data to one end and data for the other end.

INSTALL

npm install buffer-pipe

USAGE

const pipe = require('buffer-pipe')

const p = new Pipe()
p.write(Buffer.from([1,2,3,4]))
const buf = p.read(2)

// <1, 2>

API

LICENSE

MPL-2.0)

Built with git-ssb-web