1 write to _superStream
System.Formats.Tar (1)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (1)
41_superStream = superStream;
19 references to _superStream
System.Formats.Tar (19)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (19)
70_superStream.Position = newPositionInSuperStream; 75public override bool CanRead => !_isDisposed && _superStream.CanRead; 77public override bool CanSeek => !_isDisposed && _superStream.CanSeek; 107if (_superStream.CanSeek) 109_superStream.Position += bytesToDiscard; 119_superStream.ReadExactly(buffer.AsSpan(0, currentLengthToRead)); 134if (_superStream.CanSeek) 136_superStream.Position += bytesToDiscard; 146await _superStream.ReadExactlyAsync(buffer, 0, currentLengthToRead, cancellationToken).ConfigureAwait(false); 164if (!_superStream.CanRead) 190if (_superStream.CanSeek && _superStream.Position != _positionInSuperStream) 192_superStream.Seek(_positionInSuperStream, SeekOrigin.Begin); 197int ret = _superStream.Read(destination); 229if (_superStream.CanSeek && _superStream.Position != _positionInSuperStream) 231_superStream.Seek(_positionInSuperStream, SeekOrigin.Begin); 236int ret = await _superStream.ReadAsync(buffer, cancellationToken).ConfigureAwait(false); 264long actualPositionInSuperStream = _superStream.Seek(newPositionInSuperStream, SeekOrigin.Begin);