GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jsimpson/binary_reader: A Deno module and helper class that provides an easy way to read different types from a binary array buffer.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
binary_reader.ts
binary_reader.ts
 
 
binary_reader_test.ts
binary_reader_test.ts
 
 
mod.ts
mod.ts
 
 

Repository files navigation

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 "https://deno.land/x/[email protected]/mod.ts";

const filename = "some-file.bin";
const file = Deno.openSync(filename);
const buffer = Deno.readAllSync(file);
Deno.close(file.rid);

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

About

A Deno module and helper class that provides an easy way to read different types from a binary array buffer.

Topics

binarybinary-readerdenotypescripttypescript-library

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.