예제 #1
0
 public static XZIndexRecord FromBinaryReader(BinaryReader br)
 {
     var record = new XZIndexRecord();
     record.UnpaddedSize = br.ReadXZInteger();
     record.UncompressedSize = br.ReadXZInteger();
     return record;
 }
예제 #2
0
        public static XZIndexRecord FromBinaryReader(BinaryReader br)
        {
            var record = new XZIndexRecord();

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