pub unsafe extern "C" fn charls_jpegls_encoder_set_destination_buffer(
    encoder: *mut charls_jpegls_encoder,
    destination_buffer: *mut c_void,
    destination_size_bytes: usize,
) -> charls_jpegls_errc
Expand description
Set the reference to the destination buffer that will contain the encoded JPEG-LS byte stream data after encoding. This buffer needs to remain valid during the encoding process. Reference to the encoder instance. Reference to the start of the destination buffer. Size of the destination buffer in bytes. The result of the operation: success or a failure code.