Function rsmpeg::ffi::avio_read_to_bprint[][src]

pub unsafe extern "C" fn avio_read_to_bprint(
    h: *mut AVIOContext,
    pb: *mut AVBPrint,
    max_size: u32
) -> i32
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