concat-buffers

1.0.0 • Public • Published

concat-buffers

Concatenate Uint8Arrays

Build Status

USAGE

var concatBuffers = require('concat-buffers');
 
concatBuffers(new Uint8Array([1, 2]), new Uint8Array([3, 4, 5]));
// Uint8Array [1, 2, 3, 4, 5]
 
concatBuffers([new Uint8Array([1]), new Uint8Array([2])]);
// Uint8Array [1, 2]

LICENSE

MIT

Package Sidebar

Install

npm i concat-buffers

Weekly Downloads

17

Version

1.0.0

License

MIT

Last publish

Collaborators

  • iefserge