Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/uint8-concat
Concatenate mutiple Uint8Arrays super efficiently.
https://github.com/fabiospampinato/uint8-concat
concat concatenate fast uint8
Last synced: 3 months ago
JSON representation
Concatenate mutiple Uint8Arrays super efficiently.
- Host: GitHub
- URL: https://github.com/fabiospampinato/uint8-concat
- Owner: fabiospampinato
- License: mit
- Created: 2023-02-13T01:04:56.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-24T16:28:51.000Z (about 1 year ago)
- Last Synced: 2024-05-16T01:52:52.264Z (6 months ago)
- Topics: concat, concatenate, fast, uint8
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Uint8 Concat
Concatenate mutiple Uint8Arrays super efficiently.
## Install
```sh
npm install --save uint8-concat
```## Usage
```ts
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