protected void ReadHeader()
{
StringBuilder id = new StringBuilder();
for (int i = 0; i < 6; i++)
id.Append((char)inp.ReadByte());
if (!id.ToString().StartsWith("GIF8")) {
throw new IOException(MessageLocalization.GetComposedMessage("gif.signature.nor.found"));
}
ReadLSD();
if (gctFlag) {
m_global_table = ReadColorTable(m_gbpc);
}
}