1 write to _stream
Microsoft.ML.Tests (1)
ImagesTests.cs (1)
1381
public ReadOnlyNonSeekableStream(Stream stream) =>
_stream
= stream;
5 references to _stream
Microsoft.ML.Tests (5)
ImagesTests.cs (5)
1383
public override bool CanRead =>
_stream
.CanRead;
1389
public override long Length =>
_stream
.Length;
1391
public override long Position { get =>
_stream
.Position; set => throw new InvalidOperationException($"The stream is not seekable"); }
1393
public override void Flush() =>
_stream
.Flush();
1395
public override int Read(byte[] buffer, int offset, int count) =>
_stream
.Read(buffer, offset, count);