jBinary makes it easy to work with binary files in JavaScript.
It works on top of jDataView binary processing library.
Was inspired by jParser and derived as new library with full set of I/O operations for manipulations on binary data in JavaScript.
- Create your custom types using
jBinary.Type
(if needed). - Describe type set with JavaScript-compatible declarative syntax.
- Create jBinary instance from jDataView (or any underlying type) and your type set.
- Use it!
- General API
- Loading/saving data
- Typesets
- Standard types
- Custom types
- Ready-to-use typesets
- Usage
-
Primary 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. Feel free to submit more!
This library is provided under MIT license.