dpiLob_getBufferSize

Function dpiLob_getBufferSize 

Source
pub unsafe extern "C" fn dpiLob_getBufferSize(
    lob: *mut dpiLob,
    sizeInChars: u64,
    sizeInBytes: *mut u64,
) -> c_int
Expand description

Returns the size of the buffer needed to hold the number of characters specified for a buffer of the type associated with the LOB. If the LOB does not refer to a character LOB the value is returned unchanged.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.