Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

array-buffer-concat

1.0.1 • Public • Published

array-buffer-concat

Concatenate ArrayBuffers.

npm tests

Why

Just bikeshedding..

How

Uint8Array#set()

Example

var bufferConcat = require('array-buffer-concat')
 
var b1 = new ArrayBuffer(1)
var b2 = new ArrayBuffer(2)
var b3 = bufferConcat(b1, b2)
 
assert.equal(b3.byteLength, 3)

License

WTFPL

Install

npm i array-buffer-concat

DownloadsWeekly Downloads

32

Version

1.0.1

License

none

Last publish

Collaborators

  • avatar