CSJ2K.j2k.util.ISRandomAccessIO.readUnsignedInt C# (CSharp) Метод

readUnsignedInt() публичный Метод

Reads a unsigned int (32 bit) from the input.
If the end-of file was reached before getting /// all the necessary data. /// /// If an I/O error ocurred. /// ///
public readUnsignedInt ( ) : long
Результат long
        public virtual long readUnsignedInt()
        {
            if (pos + 3 < len)
            {
                // common, fast case
                return (unchecked((int) 0xFFFFFFFFL) & (long) ((buf[pos++] << 24) | ((0xFF & buf[pos++]) << 16) | ((0xFF & buf[pos++]) << 8) | (0xFF & buf[pos++])));
            }
            // general case
            return (unchecked((int) 0xFFFFFFFFL) & (long) ((read() << 24) | (read() << 16) | (read() << 8) | read()));
        }