public int ReadSI24() { int i; this.bufferedBits = 0; i = this.InputStream.ReadByte() << 8; i |= this.InputStream.ReadByte() << 16; i |= this.InputStream.ReadByte() << 24; i >>= 8; this.Offset += 3; return i; }