pub unsafe extern "C" fn OH_UdsArrayBuffer_SetData(
buffer: *mut OH_UdsArrayBuffer,
data: *mut c_uchar,
len: c_uint,
) -> c_intAvailable on crate feature
api-13 only.Expand description
Set array buffer data to the OH_UdsArrayBuffer.
§Arguments
-
buffer- Represents a pointer to an instance ofOH_UdsArrayBuffer. -
data- Represents the array buffer data. -
len- Represents the length of data param.
§Returns
- Returns the status code of the execution. See [
Udmf_ErrCode]. [UDMF_E_OK] success. [UDMF_E_INVALID_PARAM] The error code for common invalid args.OH_UdsArrayBufferUdmf_ErrCode
Available since API-level: 13