mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(BmpFormat.SkipBytes): unused method.
This commit is contained in:
parent
fe4fb8ec4a
commit
3bea44ff30
@ -104,19 +104,6 @@ namespace GameRes
|
||||
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)
|
||||
{
|
||||
int c1 = file.ReadByte();
|
||||
|
Loading…
x
Reference in New Issue
Block a user