pub unsafe extern "C" fn WebPMemoryWrite(
data: *const u8,
data_size: usize,
picture: *const WebPPicture,
) -> c_int
Expand description
The custom writer to be used with WebPMemoryWriter as custom_ptr. Upon completion, writer.mem and writer.size will hold the coded data. writer.mem must be freed by calling WebPMemoryWriterClear.