discord-baymax-bot/node_modules/ebml/README.md
2017-03-23 23:52:08 -05:00

1.4 KiB

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)