Function libwebp_sys::WebPIUpdate

source ·
pub unsafe extern "C" fn WebPIUpdate(
    idec: *mut WebPIDecoder,
    data: *const u8,
    data_size: usize
) -> VP8StatusCode
Expand description

A variant of the above function to be used when data buffer contains partial data from the beginning. In this case data buffer is not copied to the internal memory. Note that the value of the ‘data’ pointer can change between calls to WebPIUpdate, for instance when the data buffer is resized to fit larger data.