This is a node.js module to simplify defining, reading and writing binary blobs, whether they be internet protocols or files.
npm install ProtoDef
See example
See the language independent ProtoDef specification.