We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Just use npm to install jBinary and you are set :)
npm
npm install jbinary
var fs = require('fs'); var jBinary = require('jbinary'); var typeSet = { magic: ['array', 'uint8', 4] }; jBinary.load('file.bin', typeSet, function (err, binary) { console.log(binary.read('magic')); });