2 writes to _streamCachedLength
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
197
_streamCachedLength
= newLength;
372
_streamCachedLength
= _streamOnDiskLength;
7 references to _streamCachedLength
WindowsBase (7)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (7)
104
return
_streamCachedLength
;
341
if (
_streamCachedLength
< 0)
662
if ((
_streamCachedLength
>=0) && // negative value indicates that it isn't dirty nothing to update
663
(
_streamCachedLength
!= _streamOnDiskLength)) // if these 2 are not equal it is an andicator of a "dirty" date
668
byte[] prefixData = BitConverter.GetBytes((ulong)
_streamCachedLength
);
678
GetBlockSpanCount(blockSize, 0,
_streamCachedLength
) * blockSize;
684
_streamOnDiskLength =
_streamCachedLength
;