uint8-concat
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Uint8 Concat

Concatenate mutiple Uint8Arrays super efficiently.

Install

npm install --save uint8-concat

Usage

import concat from 'uint8-concat';

const buffer1 = new Uint8Array ([ 1, 2, 3 ]);
const buffer2 = new Uint8Array ([ 4, 5, 6 ]);
const buffer3 = new Uint8Array ([ 7, 8, 9 ]);

concat ([ buffer1, buffer2, buffer3 ]); // => Uint8Array(9) [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]

License

MIT © Fabio Spampinato

/uint8-concat/

    Package Sidebar

    Install

    npm i uint8-concat

    Weekly Downloads

    29

    Version

    1.0.0

    License

    none

    Unpacked Size

    3.75 kB

    Total Files

    9

    Last publish

    Collaborators

    • fabiospampinato