Skip to content

A binary data reader/writer aim to work with lavaplayer's MessageIO

License

Notifications You must be signed in to change notification settings

lavacoffee/datarw

Repository files navigation

@lavacoffee/datarw

A binary data reader/writer aim to work with lavaplayer MessageIO

NPM Version NPM Downloads

Documentation

https://lavacoffee.github.io/datarw

Writer

import { DataWriter } from "@lavacoffee/datarw"

const writer = new DataWriter()

// ... (more on docs)

const dataBytes = writer.finish()

Reader

import { DataReader } from "@lavacoffee/datarw"

const reader = new DataReader(dataBytes)

// ... (more on docs)