9 references to _fixedMinimalRecordSize
WindowsBase (9)
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (9)
55
return
_fixedMinimalRecordSize
+ _zipFileCommentLength;
307
byte [] buffer = new byte[_scanBlockSize +
_fixedMinimalRecordSize
];
330
for(int i = bytesRead -
_fixedMinimalRecordSize
; i>=0; i--)
348
Debug.Assert(buffer.Length >=
_fixedMinimalRecordSize
); // the end of central directory record must fit in there
350
Debug.Assert(pos <= buffer.Length -
_fixedMinimalRecordSize
); // enough space to fit the record after pos
352
Debug.Assert(bufferOffsetFromEndOfStream >=
_fixedMinimalRecordSize
); // there is no reason to start searching for the record
366
long commentLengthFromRecord = buffer[pos +
_fixedMinimalRecordSize
-2] +
367
(buffer[pos +
_fixedMinimalRecordSize
-1] << 8);
369
long commentLengthFromPos = bufferOffsetFromEndOfStream - pos -
_fixedMinimalRecordSize
;