Change StreamInputBytes.Seek to reset isAtEnd to false

This commit is contained in:
Richard Webb
2019-08-08 23:14:16 +01:00
parent 31e15ea097
commit f70b7c69a0

View File

@@ -75,6 +75,8 @@
public void Seek(long position)
{
isAtEnd = false;
if (position == 0)
{
stream.Seek(0, SeekOrigin.Begin);