Пример #1
0
 /// <exception cref="System.IO.IOException"></exception>
 protected internal override PackParser.ObjectTypeAndSize SeekDatabase(PackedObjectInfo
                                                                       obj, PackParser.ObjectTypeAndSize info)
 {
     @out.Seek(obj.GetOffset());
     crc.Reset();
     return(ReadObjectHeader(info));
 }
 internal static bool CanStore(PackedObjectInfo oe)
 {
     // We are limited to 4 GB per pack as offset is 32 bit unsigned int.
     //
     return((long)(((ulong)oe.GetOffset()) >> 1) < int.MaxValue);
 }