pub unsafe extern "C" fn charls_jpegls_decoder_set_source_buffer(
decoder: *mut charls_jpegls_decoder,
source_buffer: *const c_void,
source_size_bytes: usize,
) -> charls_jpegls_errc
Expand description
Set the reference to a source buffer that contains the encoded JPEG-LS byte stream data.
This buffer needs to remain valid until the buffer is fully decoded.
Reference to the decoder instance.
Reference to the start of the source buffer.
Size of the source buffer in bytes.
The result of the operation: success or a failure code.