Function avio_read_to_bprint

Source
pub unsafe extern "C" fn avio_read_to_bprint(
    h: *mut AVIOContext,
    pb: *mut AVBPrint,
    max_size: usize,
) -> c_int
Expand description

Read contents of h into print buffer, up to max_size bytes, or up to EOF.

@return 0 for success (max_size bytes read or EOF reached), negative error code otherwise