dpiLob_setFromBytes

Function dpiLob_setFromBytes 

Source
pub unsafe extern "C" fn dpiLob_setFromBytes(
    lob: *mut dpiLob,
    value: *const c_char,
    valueLength: u64,
) -> c_int
Expand description

Replaces all of the data in the LOB with the contents of the provided buffer. The LOB will first be cleared and then the provided data will be written.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.