public int ReadInt(Stream s)
{
byte[] buff = new byte[4];
s.Read(buff, 0, 4);
int i = BitConverter.ToInt32(buff, 0);
if(verbose)
DebugLog.PrintLn("Read @0x" + (s.Position - 4).ToString("X8") + " Int32 = 0x" + i.ToString("X8"));
return i;
}
public float ReadFloat(Stream s)