matroska
Version:
Matroska node parser
23 lines (15 loc) • 592 B
JavaScript
/*jslint node: true, vars: true, nomen: true */
;
var util = require('util');
var MasterElement = require('./masterElement');
var schema = require('../schema');
var _proto = require('./_proto');
function Attachments(doc, tagId, start, length) {
MasterElement.call(this, doc, tagId, schema.byName.Attachments, start, length);
}
util.inherits(Attachments, MasterElement);
module.exports = Attachments;
Attachments.prototype.toString = function() {
return "[Attachments #" + this.tagId + "]";
};
_proto.addChild(Attachments.prototype, "AttachedFile");