From 3bea44ff30adad184bc3158337d62911a3354a18 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 13 Apr 2018 19:43:34 +0400 Subject: [PATCH] (BmpFormat.SkipBytes): unused method. --- GameRes/ImageBMP.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/GameRes/ImageBMP.cs b/GameRes/ImageBMP.cs index 8e6abbb8..7ab353f9 100644 --- a/GameRes/ImageBMP.cs +++ b/GameRes/ImageBMP.cs @@ -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();