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