public EbmlReader(Stream riffStream, EbmlReadMode readMode) { this.ebmlStream = riffStream; fileLength = riffStream.Length; this.mode = readMode; }
public EbmlReader(string ebmlPath, EbmlReadMode readMode) { this.ebmlStream = new FileStream(ebmlPath, FileMode.Open, FileAccess.Read, FileShare.Read); fileLength = ebmlStream.Length; this.mode = readMode; }