public static XZIndexRecord FromBinaryReader(BinaryReader br) { var record = new XZIndexRecord(); record.UnpaddedSize = br.ReadXZInteger(); record.UncompressedSize = br.ReadXZInteger(); return record; }
public static XZIndexRecord FromBinaryReader(BinaryReader br) { var record = new XZIndexRecord(); record.UnpaddedSize = br.ReadXZInteger(); record.UncompressedSize = br.ReadXZInteger(); return(record); }
public void Process() { if (!_indexMarkerAlreadyVerified) { VerifyIndexMarker(); } NumberOfRecords = _reader.ReadXZInteger(); for (ulong i = 0; i < NumberOfRecords; i++) { Records.Add(XZIndexRecord.FromBinaryReader(_reader)); } SkipPadding(); VerifyCrc32(); }