Get new jQuery plugins just once a week

Restruct js

Restruct js | Conversion to and from binary data types

Restruct js is a javascript Binary library performs conversion to and from binary data types. It utilizes an intuitive declarative API to define formats for binary structure parsers and emitters. It works in both the browser and on Node.
restruct.js has support for typed arrays, where available.> struct = restruct.
... int8lu('opcode').
... int8lu('version').
... string('username', 20);