Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yorkie/node-buffer24

node buffer extension: support 24bit operators
https://github.com/yorkie/node-buffer24

Last synced: 5 days ago
JSON representation

node buffer extension: support 24bit operators

Awesome Lists containing this project

README

        

node-buffer24
==================
node buffer extension: support 24bit operators

### Installation
```sh
$ 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