mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(PngFormat.SkipBytes): IBinaryStream has CanSeek property.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user