public EBMLReader(IEBMLDataSource dataSrc, EBMLDocType ebmlDoc) { this.dataSrc = dataSrc; this.docType = ebmlDoc; this.bytePatterns = new BytePatterns(ebmlDoc.CreateSyncPoints()); lastElementPos = dataSrc.HasKnownLength ? dataSrc.Length : ~VIntConsts.UNKNOWN_LENGTH; }
public EBMLWriter(IEBMLDataSource dataSrc, EBMLDocType ebmlDoc) { this.dataSrc = dataSrc; this.ebmlDoc = ebmlDoc; }