public void AddCompressedPositionStart(long start) { Metadata = new MetadataRecord( Metadata.Start, Metadata.Length, start, Metadata.LengthCompressed); }
public bool TryGetNextRecord(out MetadataRecord record) { if (!Records.Any()) { record = default; return(false); } else { record = Records.Dequeue(); return(true); } }
public void AddRecord(MetadataRecord metadataRecord) { Records.Enqueue(metadataRecord); }