Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hazae41/binary

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/binary

Zero-copy bytes reader and writer

  • 1.1.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27
increased by22.73%
Maintainers
1
Weekly downloads
 
Created
Source

Zero-copy bytes reader and writer 🏎️

npm i @hazae41/binary

Node Package 📦

Current features

  • 100% TypeScript and ESM
  • Zero-copy reading and writing
  • No external dependency
  • Compatible with both Uint8Array and Buffer
  • Unit tested

Usage

const binary = Binary.alloc(3)
const binary = Binary.allocUnsafe(3)
const binary = new Binary(Buffer.from([0x1, 0x2]))
binary.writeUint8(123)
binary.writeUint16(1234)

Keywords

FAQs

Package last updated on 06 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc