2.1.0 • Published 1 year ago

@serenityjs/binaryutils v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

binarystream

Binarystream is a simple package designed to simplify streaming of binary data in Javascript, while being written in Rust.

Usage

import { BinaryStream } from '@serenityjs/binarystream'

const stream = new BinaryStream()
stream.writeUint8(255)
stream.writeString('Hello World!')

stream.readUint8() // 255
stream.readString() // Hello World!

Documentation

Documentation can be found here

2.1.0

1 year ago

2.0.0

1 year ago