OH_UdsArrayBuffer_GetData

Function OH_UdsArrayBuffer_GetData 

Source
pub unsafe extern "C" fn OH_UdsArrayBuffer_GetData(
    buffer: *mut OH_UdsArrayBuffer,
    data: *mut *mut c_uchar,
    len: *mut c_uint,
) -> c_int
Available on crate feature api-13 only.
Expand description

Get array buffer data from the OH_UdsArrayBuffer.

§Arguments

  • buffer - Represents a pointer to an instance of OH_UdsArrayBuffer.

  • data - Represents a pointer to array buffer data that is a output param.

  • len - Represents the array buffer data length that is a output 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_UdsArrayBuffer Udmf_ErrCode

Available since API-level: 13