BitMiracle.LibJpeg.Classic.jpeg_source_mgr.GetByte C# (CSharp) Method

GetByte() public method

Read a byte into variable V. If must suspend, take the specified action (typically "return false").
public GetByte ( int &V ) : bool
V int The result.
return bool
        public virtual bool GetByte(out int V)
        {
            if (!MakeByteAvailable())
            {
                V = 0;
                return false;
            }

            m_bytes_in_buffer--;
            V = m_next_input_byte[m_position];
            m_position++;
            return true;
        }