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

MakeByteAvailable() public method

Functions for fetching data from the data source module.
At all times, cinfo.src.next_input_byte and .bytes_in_buffer reflect the current restart point; we update them only when we have reached a suitable place to restart if a suspension occurs.
public MakeByteAvailable ( ) : bool
return bool
        public virtual bool MakeByteAvailable()
        {
            if (m_bytes_in_buffer == 0)
            {
                if (!fill_input_buffer())
                    return false;
            }

            return true;
        }
    }