Skip to main content

Binary Reader

A Deno module helper class that wraps around DataView to provide an easy way to read different types from a binary array buffer while maintaining the current buffer position.

Usage

import BinaryReader from "binary_reader.ts;

let binaryReader = new BinaryReader(buffer);
let data = binaryReader.readUint8();