Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

node-binary
=============
A binary packer and unpacker
To build:
node-waf configure
node-waf build
To use in a script:
var binary = require("./lib/binary");
var bin = new binary.Binary();
var buff = new Buffer(1024);
bin.pack([
{"int": 1},
{"int16": 2},
{"int32": 3},
{"string": "goodbye"}
], buff, 0);
var tmp = bin.unpack("onNs7", 0, buff);
run tests/test.js for a full example.

About

binary packer and unpacker

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages