jBinary makes it easy to create, load, parse, modify and save complex binary files and data structures in both browser and Node.js.
Was inspired by jParser and derived as new library with full set of operations for binary data.
How can I use it?
- Create jBinary instance from memory or from data source and your typeset.
Check out wiki for detailed API documentation.
Is there any example code?
How about TAR archive modification:
// configuring paths for Require.js// (you can use CommonJS (Component, Node.js) or simple script tags as well)require;;
Show me amazing use-cases!
Advanced demo that shows abilities and performance of jBinary - Apple HTTP Live Streaming player which converts MPEG-TS video chunks from realtime stream to MP4 and plays them immediately one by one while converting few more chunks in background.
Also check out jBinary.Repo for advanced usage and demos of some popular file formats (and feel free to submit more!).
What license is it issued under?
This library is provided under MIT license.