public void Read(__BinaryParser input)
{
byte[] buffer = input.ReadBytes(0x11);
if (buffer.Length < 0x11)
{
__Error.EndOfFile();
}
this.majorVersion = GetInt32(buffer, 9);
if (this.majorVersion > this.binaryFormatterMajorVersion)
{
throw new SerializationException(Environment.GetResourceString("Serialization_InvalidFormat", new object[] { BitConverter.ToString(buffer) }));
}
this.binaryHeaderEnum = (BinaryHeaderEnum) buffer[0];
this.topId = GetInt32(buffer, 1);
this.headerId = GetInt32(buffer, 5);
this.minorVersion = GetInt32(buffer, 13);
}