mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-22 20:13:58 +08:00
Change StreamInputBytes.Seek to reset isAtEnd to false
This commit is contained in:
@@ -75,6 +75,8 @@
|
|||||||
|
|
||||||
public void Seek(long position)
|
public void Seek(long position)
|
||||||
{
|
{
|
||||||
|
isAtEnd = false;
|
||||||
|
|
||||||
if (position == 0)
|
if (position == 0)
|
||||||
{
|
{
|
||||||
stream.Seek(0, SeekOrigin.Begin);
|
stream.Seek(0, SeekOrigin.Begin);
|
||||||
|
Reference in New Issue
Block a user