Skip to main content

bitstream_init

Function bitstream_init 

Source
pub unsafe extern "C" fn bitstream_init(
    s: *mut bitstream_state_t,
    direction: c_int,
) -> *mut bitstream_state_t
Expand description

\brief Initialise a bitstream context. \param s A pointer to the bitstream context. \param lsb_first True if the bit stream is LSB first, else its MSB first. \return A pointer to the bitstream context.