Socket
Socket
Sign inDemoInstall

buffer24

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    buffer24

node buffer extension: support 24bit operators


Version published
Weekly downloads
17
decreased by-15%
Maintainers
1
Install size
6.36 kB
Created
Weekly downloads
 

Readme

Source

node-buffer24

node buffer extension: support 24bit operators

Installation

$ npm install buffer24

API

buf.readUInt24LE(offset, [noAssert])
buf.readUInt24BE(offset, [noAssert])
  • offset Number

  • noAssert Boolean, Optional, Default: false

buf.readInt24LE(offset, [noAssert])
buf.readInt24BE(offset, [noAssert])
  • offset Number

  • noAssert Boolean, Optional, Default: false

buf.writeUInt24LE(value, offset, [noAssert])
buf.writeUInt24BE(value, offset, [noAssert])
  • value Number

  • offset Number

  • noAssert Boolean, Optional, Default: false

buf.writeInt24LE(value, offset, [noAssert])
buf.writeInt24BE(value, offset, [noAssert])
  • value Number

  • offset Number

  • noAssert Boolean, Optional, Default: false

License

MIT

Keywords

FAQs

Last updated on 24 May 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc