private static int ReadInt(FileStream fs) { int i1 = fs.ReadByte(); int i2 = fs.ReadByte(); int i3 = fs.ReadByte(); int i4 = fs.ReadByte(); return i1 + (i2 << 8) + (i3 << 16) + (i4 << 24); }