(BmpFormat.SkipBytes): unused method.

This commit is contained in:
morkt 2018-04-13 19:43:34 +04:00
parent fe4fb8ec4a
commit 3bea44ff30

View File

@ -104,19 +104,6 @@ namespace GameRes
encoder.Save (file); encoder.Save (file);
} }
void SkipBytes (IBinaryStream file, uint num)
{
if (file.AsStream.CanSeek)
file.Seek (num, SeekOrigin.Current);
else
{
for (int i = 0; i < num / 4; ++i)
file.ReadInt32();
for (int i = 0; i < num % 4; ++i)
file.ReadByte();
}
}
public override ImageMetaData ReadMetaData (IBinaryStream file) public override ImageMetaData ReadMetaData (IBinaryStream file)
{ {
int c1 = file.ReadByte(); int c1 = file.ReadByte();