mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 04:49:32 +08:00
(PngFormat.SkipBytes): IBinaryStream has CanSeek property.
This commit is contained in:
parent
1ac0931d62
commit
bfca63e48b
@ -104,7 +104,7 @@ namespace GameRes
|
|||||||
|
|
||||||
void SkipBytes (IBinaryStream file, uint num)
|
void SkipBytes (IBinaryStream file, uint num)
|
||||||
{
|
{
|
||||||
if (file.AsStream.CanSeek)
|
if (file.CanSeek)
|
||||||
file.Seek (num, SeekOrigin.Current);
|
file.Seek (num, SeekOrigin.Current);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user