47 references to Stream
WindowsBase (47)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (6)
201
_binaryReader = new BinaryReader(
Stream
, Encoding);
214
_binaryWriter = new BinaryWriter(
Stream
, Encoding);
954
if (dirtyBlockFound && (
Stream
.Length > currentOffset))
956
Stream
.SetLength(currentOffset);
959
Stream
.Flush();
1007
Stream
.Flush();
Base\MS\Internal\IO\Zip\ZipIOCentralDirectoryBlock.cs (3)
150
if (_blockManager.
Stream
.Position != _offset)
153
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
269
blockManager.
Stream
.Seek(zip64EOCD.OffsetOfStartOfCentralDirectory, SeekOrigin.Begin);
Base\MS\Internal\IO\Zip\ZipIOEndOfCentralDirectoryBlock.cs (4)
86
if (!_blockManager.Streaming && _blockManager.
Stream
.Position != _offset)
89
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
183
long blockPosition = FindPosition(blockManager.
Stream
);
184
blockManager.
Stream
.Seek(blockPosition, SeekOrigin.Begin);
Base\MS\Internal\IO\Zip\ZipIOFileItemStream.cs (15)
46
return (!_disposedFlag) && (_blockManager.
Stream
.CanRead);
54
return (!_disposedFlag) && (_blockManager.
Stream
.CanSeek);
62
return (!_disposedFlag) && (_blockManager.
Stream
.CanWrite);
221
_blockManager.
Stream
.Seek(_persistedOffset + newStreamPosition, SeekOrigin.Begin);
224
diskBytesRead = _blockManager.
Stream
.Read(buffer, offset, diskBytesToRead);
294
_blockManager.
Stream
.Seek(_persistedOffset + newStreamPosition, SeekOrigin.Begin);
300
_blockManager.
Stream
.Write(buffer, offset, diskBytesToWrite);
365
_blockManager.
Stream
,
428
_sparseMemoryStreamSuffix.WriteToStream(_blockManager.
Stream
);
478
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
483
_cachePrefixStream.WriteToStream(_blockManager.
Stream
);
495
if (_blockManager.
Stream
.Position != checked (_offset + _persistedSize))
498
_blockManager.
Stream
.Seek(_offset + _persistedSize, SeekOrigin.Begin);
500
_sparseMemoryStreamSuffix.WriteToStream(_blockManager.
Stream
);
507
_blockManager.
Stream
.Flush();
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (7)
135
_offset = _blockManager.
Stream
.Position;
201
if (_blockManager.
Stream
.Position != _offset)
204
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
373
blockManager.
Stream
.Seek(localHeaderOffset, SeekOrigin.Begin);
441
CheckFileAccessParameter(_blockManager.
Stream
, access);
448
if (!_blockManager.
Stream
.CanWrite)
738
_blockManager.
Stream
.Seek(centralDirFileHeader.CompressedSize, SeekOrigin.Current);
Base\MS\Internal\IO\Zip\ZipIORawDataFileBlock.cs (4)
102
if (_blockManager.
Stream
.Position != _offset)
105
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
113
_cachePrefixStream.WriteToStream(_blockManager.
Stream
);
135
_blockManager.
Stream
,
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryBlock.cs (3)
80
if (_blockManager.
Stream
.Position != _offset)
83
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
214
blockManager.
Stream
.Seek(zip64EndOfCentralDirectoryOffset, SeekOrigin.Begin);
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs (5)
79
if (_blockManager.
Stream
.Position != _offset)
82
_blockManager.
Stream
.Seek(_offset, SeekOrigin.Begin);
165
blockManager.
Stream
.Seek(blockPosition, SeekOrigin.Begin);
199
(checked(suspectPos + sizeof(UInt32)) > blockManager.
Stream
.Length))
204
blockManager.
Stream
.Seek(suspectPos, SeekOrigin.Begin);