discord-baymax-bot/node_modules/ebml
2017-03-23 23:52:08 -05:00
..
lib/ebml Pushing changes 2017-03-23 23:52:08 -05:00
media Pushing changes 2017-03-23 23:52:08 -05:00
test Pushing changes 2017-03-23 23:52:08 -05:00
.jshintrc Pushing changes 2017-03-23 23:52:08 -05:00
.npmignore Pushing changes 2017-03-23 23:52:08 -05:00
.travis.yml Pushing changes 2017-03-23 23:52:08 -05:00
example.js Pushing changes 2017-03-23 23:52:08 -05:00
gulpfile.js Pushing changes 2017-03-23 23:52:08 -05:00
index.js Pushing changes 2017-03-23 23:52:08 -05:00
LICENSE Pushing changes 2017-03-23 23:52:08 -05:00
package.json Pushing changes 2017-03-23 23:52:08 -05:00
README.md Pushing changes 2017-03-23 23:52:08 -05:00

EBML Build Status NPM

EBML stands for Extensible Binary Meta-Language and is some what of a binary version of XML. It's used for container formats like webm or mkv

install

npm install ebml

example

var ebml = require('./index.js');
var fs = require('fs');

var decoder = new ebml.Decoder();

decoder.on('data', function(chunk) {
    console.log(chunk);
});

fs.readFile('media/test.webm', function(err, data) {
    if (err)
        throw err;
    decoder.write(data);
});

state of this project

Parsing should work. If it doesn't, please create an issue.

Thanks to @chrisprice we got an encoder!

license

MIT

contributors

(in alphabetical order)