1.0.2 • Published 8 years ago

buf-processor v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Build Status

buf-processor

It provides operations to the binary

Installation

npm install buf-processor

Example

var Processor = require('buf-processor');
var buf = new Uint8Array([1, 2, 3, 0xff]);
var proc = new Processor(buf);
var str = proc.readAsHexString(0, 1); // '01'
var idx = proc.indexOf('01'); // 0

License

MIT