public int read4LE()
{
byte[] b = new byte[4];
if (base.Read(b, 0, b.Length) < b.Length)
{
throw new OtpErlangDecodeException("Cannot read from input stream");
}
return (int)((b[3] << 24 & 0xff000000) + (b[2] << 16 & 0xff0000) + (b[1] << 8 & 0xff00) + (b[0] & 0xff));
}