Function binder_ndk_sys::AParcel_readBoolArray

source ยท
pub unsafe extern "C" fn AParcel_readBoolArray(
    parcel: *const AParcel,
    arrayData: *mut c_void,
    allocator: AParcel_boolArrayAllocator,
    setter: AParcel_boolArraySetter,
) -> binder_status_t
Expand description

Reads an array of bool from the next location in a non-null parcel.

First, allocator will be called with the length of the array. Then, for every i in [0, length), setter(arrayData, i, x) will be called where x is the value at the associated index.

Available since API level 29.

\param parcel the parcel to read from. \param arrayData some external representation of an array. \param allocator the callback that will be called to allocate the array. \param setter the callback that will be called to set a value at a specific location in the array.

\return STATUS_OK on successful read.