🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

uint8-concat

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uint8-concat

Concatenate mutiple Uint8Arrays super efficiently.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Uint8 Concat

Concatenate mutiple Uint8Arrays super efficiently.

Install

npm install uint8-concat

Usage

import concat from 'uint8-concat';

// Let's concatenate some Uint8Arrays

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

Keywords

uint8

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts