Function av_bprint_init_for_buffer
pub unsafe extern "C" fn av_bprint_init_for_buffer(
buf: *mut AVBPrint,
buffer: *mut i8,
size: u32,
)
Expand description
Init a print buffer using a pre-existing buffer.
The buffer will not be reallocated. In case size equals zero, the AVBPrint will be initialized to use the internal buffer as if using AV_BPRINT_SIZE_COUNT_ONLY with av_bprint_init().
@param buf buffer structure to init @param buffer byte buffer to use for the string data @param size size of buffer