We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2849fd9 commit 9c48c19Copy full SHA for 9c48c19
src/ImageSharp/IO/DoubleBufferedStreamReader.cs
@@ -42,6 +42,7 @@ internal class DoubleBufferedStreamReader : IDisposable
42
public DoubleBufferedStreamReader(MemoryAllocator memoryAllocator, Stream stream)
43
{
44
this.stream = stream;
45
+ this.Position = (int)stream.Position;
46
this.length = (int)stream.Length;
47
this.managedBuffer = memoryAllocator.AllocateManagedByteBuffer(ChunkLength, AllocationOptions.Clean);
48
this.bufferChunk = this.managedBuffer.Array;
0 commit comments