8000 GitHub - lavacoffee/datarw: A binary data reader/writer aim to work with lavaplayer's MessageIO
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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)
0