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;
75
public override bool CanRead => !_isDisposed &&
_superStream
.CanRead;
77
public override bool CanSeek => !_isDisposed &&
_superStream
.CanSeek;
107
if (
_superStream
.CanSeek)
109
_superStream
.Position += bytesToDiscard;
119
_superStream
.ReadExactly(buffer.AsSpan(0, currentLengthToRead));
134
if (
_superStream
.CanSeek)
136
_superStream
.Position += bytesToDiscard;
146
await
_superStream
.ReadExactlyAsync(buffer, 0, currentLengthToRead, cancellationToken).ConfigureAwait(false);
164
if (!
_superStream
.CanRead)
190
if (
_superStream
.CanSeek &&
_superStream
.Position != _positionInSuperStream)
192
_superStream
.Seek(_positionInSuperStream, SeekOrigin.Begin);
197
int ret =
_superStream
.Read(destination);
229
if (
_superStream
.CanSeek &&
_superStream
.Position != _positionInSuperStream)
231
_superStream
.Seek(_positionInSuperStream, SeekOrigin.Begin);
236
int ret = await
_superStream
.ReadAsync(buffer, cancellationToken).ConfigureAwait(false);
264
long actualPositionInSuperStream =
_superStream
.Seek(newPositionInSuperStream, SeekOrigin.Begin);