BitMiracle.LibJpeg.Classic.jpeg_destination_mgr.emit_byte C# (CSharp) Method

emit_byte() public method

Emits a byte.
public emit_byte ( int val ) : bool
val int The byte value.
return bool
        public virtual bool emit_byte(int val)
        {
            m_buffer[m_position] = (byte)val;
            m_position++;

            if (--m_free_in_buffer == 0)
            {
                if (!empty_output_buffer())
                    return false;
            }

            return true;
        }