public static void SkipField(Stream fs, byte flag)
{
//if it's not an 'identifier byte' skip the
//skip the unknown data
if (!(flag >= 0x80 && flag <= 0x9F))
{
byte[] tempBytes = new byte[4];
fs.Read(tempBytes, 0, 4);
//skip the number of bytes
fs.Position += BitConverter.ToInt32(tempBytes, 0);
}
}