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