binder_ndk_sys

Function AParcel_writeFloatArray

Source
pub unsafe extern "C" fn AParcel_writeFloatArray(
    parcel: *mut AParcel,
    arrayData: *const f32,
    length: i32,
) -> binder_status_t
Expand description

Writes an array of float to the next location in a non-null parcel.

Available since API level 29.

\param parcel the parcel to write to. \param arrayData an array of size ‘length’ (or null if length is -1, may be null if length is 0). \param length the length of arrayData or -1 if this represents a null array.

\return STATUS_OK on successful write.