# ndk

## Summary

| ### Enumerations ||
|---|---|
| `https://developer.android.com/ndk/reference/namespacendk#group___ndk_binder_1ga5c14d305356cec2c654287d0769367ca{ https://developer.android.com/ndk/reference/namespacendk#group___ndk_binder_1gga5c14d305356cec2c654287d0769367caaab631726db7487a5306c05d28c7177f2, https://developer.android.com/ndk/reference/namespacendk#group___ndk_binder_1gga5c14d305356cec2c654287d0769367caa2a188ad5cb1b1a3b1ead5b2aea75b91c }` | enum |

| ### Typedefs ||
|---|---|
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af99269ec62bac289afa4d749a6b0c460` | typedef `int32_t` |

| ### Functions ||
|---|---|
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae78b8596e0397e6744374dec730ff5a5(void *arrayData, int32_t length, T **outBuffer)` | `bool` This checks the length against the array size and retrieves the buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aad889f81eed0102e70246c3996a76fdc(void *arrayData, int32_t length)` | `bool` This checks the length against the array size. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aa1713838dc24456cdb296148bdb5f0a4(const void *arrData, size_t index)` | `T` This retrieves the underlying value in a std::array which may not be contiguous at index from a corresponding arrData. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aedb5a0c9fef2170f106c822fa2277a6f(void *arrData, size_t index, T value)` | `void` This sets the underlying value in a corresponding arrData which may not be contiguous at index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0647c0e2e2154c73f5b191eea2c61526(void *arrData, size_t index, int32_t length, char **buffer)` | `bool` Allocates a std::string inside of std::optional, N\>\> at index 'index' to size 'length'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a095d32413bc78d2ffaa2421a83583d06(void *stringData, int32_t length, char **buffer)` | `bool` Allocates a string in a std::optional to size 'length' (or to std::nullopt when length is -1) and returns the underlying buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ad7ae1d003edf6d4ac5374b989ab35f57(void *vectorData, int32_t length, T **outBuffer)` | `bool` This retrieves and allocates a vector to size 'length' and returns the underlying buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a4cbe2827e66dbbf984b755bcfb0e2a9d(void *vectorData, int32_t length)` | `bool` This allocates a vector to size 'length' and returns whether the allocation is successful. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af754d6806368d073c70fdc89e422fd99(void *vectorData, size_t index, T value)` | `void` This sets the underlying value in a corresponding vectorData which may not be contiguous at index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a76f6e00084fd2913cdc638d86736d268(void *vectorData, size_t index, int32_t length, char **buffer)` | `bool` Allocates a string in a std::optional inside of a std::optional\>\> at index 'index' to size 'length' (or to std::nullopt when length is -1). |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1afc2b482ba108a9a676fdd5c84ac5e7e5(const void *vectorData, size_t index, int32_t *outLength)` | `const char *` This gets the length and buffer of a std::optional inside of a std::vector at index index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a4b2a2910dd1aaa6885d4725b089bda89(const AParcel *parcel, T *value)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a value of any type. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af900f96fb1ee3550ebd8254a2cede090(const AParcel *parcel, std::array< T, N > *arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a21d52060e5a1af557bca927c49ce8518(const AParcel *parcel, std::array< T, N > *arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0ef7bca2ad25c12f4369debe6175e1a5(const AParcel *parcel, T *value)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a nullable value of any type. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ada9e3b2162c4bb8141cf37cbf5b9e7db(const AParcel *parcel, std::optional< std::array< T, N >> *arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aac47121f751fbd57d2974f2d027e4be3(const AParcel *parcel, https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor *fd)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to read a ParcelFileDescriptor where -1 represents a null value. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a9bfd939b91bfcfdf6d32384344943233(const AParcel *parcel, P *p)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a nullable parcelable. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aba069c06faf0addc9a048414bb77cb81(const AParcel *parcel, void *arrayData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a nullable object of type T inside a std::array at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a124d092b17f381dbe7cef3d8414b8874(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a parcelable object of type P inside a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aba9b53828e6d7d07bc6ab844c658c8ce(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::optional\> at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a511f5eae8c46fca34f7b2729621ece60(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::optional\> at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae1a0394f3260f65c56dcb251fc2bc82c(const AParcel *parcel, https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder *binder)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to read a nullable strong binder. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a73e13ea4d649ba9837a107431c6a3a05(const AParcel *parcel, P *p)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a non-null parcelable. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a9cc05e7c051ee363908806becb268904(const AParcel *parcel, https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor *fd)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to read a valid ParcelFileDescriptor. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a3bce9000b2711e57e8032a2bee64d796(const AParcel *parcel, https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder *binder)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to read a strong binder but return an error if it is null. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0738cbfc5968d17aff889b6914a6895d(const AParcel *parcel, void *arrayData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an object of type T inside a std::array at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1acd02683db1042a5667323cd5a6dc9192(const AParcel *parcel, void *arrayData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a nullable object of type T inside a std::array at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0769c1b7b99eb5434dc294f1bfdcb568(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a parcelable object of type P inside a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a06373706231e1062018acee2adf31a2b(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::vector at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af2fe59ab0b44b4c4a5786a5bff207f28(const AParcel *parcel, void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::vector at index 'index' from 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a8781cbe6ad426fc9f277a5834ee4a633(const AParcel *parcel, std::string *str)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::string. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a506d56f79264e75bf6b83e7ba373b1ad(const AParcel *parcel, std::optional< std::string > *str)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::optional. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0111becc0c0fd3067c535f84fe39cdd0(const AParcel *parcel, std::vector< std::string > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::vector |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a8cd14fecc2ba9a1e0b26e6f4b57fc191(const AParcel *parcel, std::optional< std::vector< std::optional< std::string >>> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::optional\>\> |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ad81c52cb650f46c24c340a965212d7bf(const AParcel *parcel, std::vector< P > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a61b16b26fec5cce5bf841285ff395ec5(const AParcel *parcel, std::optional< std::vector< P >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for reading a std::optional |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac1a5c583a99a9bd8118a14153d97869a(const AParcel *parcel, std::vector< int32_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of int32_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a520780d88910679edf99032f1d1df355(const AParcel *parcel, std::optional< std::vector< int32_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of int32_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aea634a96351823361035584d50f781fd(const AParcel *parcel, std::vector< uint32_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of uint32_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a7fc720077c50a737f17a2768095c56c5(const AParcel *parcel, std::optional< std::vector< uint32_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of uint32_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a940498bef71c7b44911a2680e3bcb48c(const AParcel *parcel, std::vector< int64_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of int64_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a02ee583fabc5e85ced2701a3a6c98849(const AParcel *parcel, std::optional< std::vector< int64_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of int64_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a79a1df6db972c2099fa65fa0698bc527(const AParcel *parcel, std::vector< uint64_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of uint64_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a1ef894295099e388255cc08353e1e5aa(const AParcel *parcel, std::optional< std::vector< uint64_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of uint64_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1adbc437014f0d80bb2d1e1ec239c4223a(const AParcel *parcel, std::vector< float > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of float from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a7cca55d9844ae06d4fc8375408cc66bd(const AParcel *parcel, std::optional< std::vector< float >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of float from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a3285713b5d1edc028134b4560e0bf937(const AParcel *parcel, std::vector< double > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of double from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae3aa634513aac108afbf4dba711a1b8b(const AParcel *parcel, std::optional< std::vector< double >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of double from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a8b518b011520c599ef1c37b8611fecc9(const AParcel *parcel, std::vector< bool > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of bool from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1afacdd99bc4a645b72bfa2ec161d47548(const AParcel *parcel, std::optional< std::vector< bool >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of bool from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a5e40045df71c6acfdee278f592c35183(const AParcel *parcel, std::vector< char16_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of char16_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aca0cdf901439ed7549d6a1ab4f7f1b81(const AParcel *parcel, std::optional< std::vector< char16_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of char16_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a097175ff560ab80c7cbed63165c0168d(const AParcel *parcel, std::vector< uint8_t > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads a vector of uint8_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a58722b63a47f65cae524a0745091bc15(const AParcel *parcel, std::optional< std::vector< uint8_t >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Reads an optional vector of uint8_t from the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a8fe9058305eaa60bd88520211266df47(const AParcel *parcel, std::vector< T > *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for resizing a vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a63dd49fcf7b5698d66299252120c5e58(const AParcel *parcel, std::optional< std::vector< T >> *vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for resizing a vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a1dfd293909d6a1e37dec7547cc3e0027(void *arrayData, int32_t length, T **outBuffer)` | `bool` This checks the length against the array size and retrieves the buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a68b163d56cfdd9fbfbe1261ad9fedeaf(void *arrayData, int32_t length)` | `bool` This checks the length against the array size. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a3afb7a919f174341190d754c1bd34297(const void *arrData, size_t index)` | `T` This retrieves the underlying value in a std::array which may not be contiguous at index from a corresponding arrData. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a1cf6842dc572a19a70bf167cda6a7e39(void *arrData, size_t index, int32_t length, char **buffer)` | `bool` Allocates a std::string inside of std::array, N\> at index 'index' to size 'length'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1abf6423f84a82e83bd0ad84f723f03492(const void *arrData, size_t index, int32_t *outLength)` | `const char *` This gets the length and buffer of a std::string inside of a std::array, N\> at index 'index'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aea88461e8fd55f67d398f7387642fb76(void *arrData, size_t index, T value)` | `void` This sets the underlying value in a corresponding arrData which may not be contiguous at index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae9a86532c6a08044b2354659736520ed(void *arrData, size_t index, int32_t length, char **buffer)` | `bool` Allocates a std::string inside of std::array at index 'index' to size 'length'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac0be5d6f99690280017796b6fc72daa0(const void *arrData, size_t index, int32_t *outLength)` | `const char *` This gets the length and buffer of a std::string inside of a std::array at index 'index'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a688c54675d2b62da59b41dfe16709e16(void *stringData, int32_t length, char **buffer)` | `bool` Allocates a std::string to length and returns the underlying buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a6a61e72fabc6ad154bed029ce87e0d2b(void *vectorData, int32_t length, T **outBuffer)` | `bool` This retrieves and allocates a vector to size 'length' and returns the underlying buffer. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a009625452f6b61845b116c9ce2f39974(void *vectorData, int32_t length)` | `bool` This allocates a vector to size 'length' and returns whether the allocation is successful. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aa92f33b9eb8e0129a0fcce0bd00e4e95(const void *vectorData, size_t index)` | `T` This retrieves the underlying value in a vector which may not be contiguous at index from a corresponding vectorData. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a3a0ec816c418d52bdb3fd20b1aca20b0(void *vectorData, size_t index, T value)` | `void` This sets the underlying value in a corresponding vectorData which may not be contiguous at index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac7ff68f10f181ad0e10149f094a38f3c(void *vectorData, size_t index, int32_t length, char **buffer)` | `bool` Allocates a std::string inside of a std::vector at index 'index' to size 'length'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac12ee262a27a757e8ad10d3f91e638f8(const void *vectorData, size_t index, int32_t *outLength)` | `const char *` This gets the length and buffer of a std::string inside of a std::vector at index index. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a91dba1aef7510c1d08c476d9795df057(AParcel *parcel, const T & value)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a value of any type. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a00741dba50e7744b35589aedfec9065c(AParcel *parcel, const std::array< T, N > & arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac836eea3db85946d5994b6d6dfc3b5ec(AParcel *parcel, const std::array< T, N > & arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a9ab018a8bd15a419320b91cfa3de58b2(AParcel *parcel, const T & value)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a nullable value of any type. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a9361c55dd4d50df5e96acf6615e7109a(AParcel *parcel, const std::optional< std::array< T, N >> & arr)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a fixed-size array of T. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a59dad36388e948ba805f1b8b59d76235(AParcel *parcel, const https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor & fd)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to write a ParcelFileDescriptor where -1 represents a null value. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a49d2bf6ee503bf5b118e9bb8dfd25c22(AParcel *parcel, const P & p)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a nullable parcelable. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a6e89d6aad4d0125fc48b74f09b2f16df(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a parcelable object of type P inside a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a94f5c9e66d7698b3109bb97df05f60c8(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::optional\> at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a387b33c546b61a1083006faafeda5423(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::optional\> at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae96c34e2f8de080e48c43951ce5308f3(AParcel *parcel, const https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder & binder)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to write a nullable strong binder. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a9df769dfac4fb37ed622e434ed2960f5(AParcel *parcel, const P & p)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a non-null parcelable. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ae18db1a3528847e42e4230ff486a2a28(AParcel *parcel, const https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor & fd)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to write a valid ParcelFileDescriptor. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a8c15ebd66be657320343d5bb25544eba(AParcel *parcel, const https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder & binder)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience method to write a strong binder but return an error if it is null. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a47f69de1d3ab08b3e24bb579dcbd7c38(AParcel *parcel, const void *arrayData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an object of type T inside a std::array at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a56180a04c1238ab49251c0541369155a(AParcel *parcel, const void *arrayData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a nullable object of type T inside a std::array at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a82251623c086bf60ce8e9f7e5cdcce30(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a parcelable object of type P inside a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a83c18c436455395db33ab483f6feff72(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::vector at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a5a98c96de4545f3cfe1209b0c4981449(AParcel *parcel, const void *vectorData, size_t index)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::vector at index 'index' to 'parcel'. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a7f365f2cffd6551edd85982d5025f332(AParcel *parcel, const std::string & str)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::string. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a07cc31ef5b13f231913d4b1434854e80(AParcel *parcel, const std::optional< std::string > & str)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::optional. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1acc01954170b8f90761ed4cbd910fb23a(AParcel *parcel, const std::vector< std::string > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::vector |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ab73ca9d73f010d6030c79751aaa05bd5(AParcel *parcel, const std::optional< std::vector< std::optional< std::string >>> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::optional\>\> |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a85fb720df1aa504dc8b5ccadd8370f12(AParcel *parcel, const std::vector< P > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aba8fd29cabd6f454fbf88593411119db(AParcel *parcel, const std::optional< std::vector< P >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing a std::optional |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a18beff82f3ab52b455de6ae38be84f15(AParcel *parcel, const std::vector< int32_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of int32_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a2f81098ce8aa9798dfe2fad367afa1b8(AParcel *parcel, const std::optional< std::vector< int32_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of int32_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ad874c817e1b585715e049841ad4470fa(AParcel *parcel, const std::vector< uint32_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of uint32_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af23700315bb5f2085292f48073aaca33(AParcel *parcel, const std::optional< std::vector< uint32_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of uint32_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a31e40753300c57bda1fd7a489d2d8820(AParcel *parcel, const std::vector< int64_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of int64_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a15eb4fd0571796802e3deb2228fbbced(AParcel *parcel, const std::optional< std::vector< int64_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of int64_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a91630dd654d8422da8213d67a627a32f(AParcel *parcel, const std::vector< uint64_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of uint64_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1acad52e628b67966a4dc7634137e57cf2(AParcel *parcel, const std::optional< std::vector< uint64_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of uint64_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a0ba28cc82b6078c71a4c7bfea744aebb(AParcel *parcel, const std::vector< float > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of float to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ad23ae01a3483b84eeb97dc3efad17953(AParcel *parcel, const std::optional< std::vector< float >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of float to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1af140211d94792e60782969b5a12f25c4(AParcel *parcel, const std::vector< double > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of double to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ab61590a87e7d6ca641b594f3ad333b99(AParcel *parcel, const std::optional< std::vector< double >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of double to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ad70b8d1198ecf5968c286a1d0695cd9b(AParcel *parcel, const std::vector< bool > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of bool to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1afe6694e673437063bd778f692177eef1(AParcel *parcel, const std::optional< std::vector< bool >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of bool to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a3465c19c505448d5f401c3ca4a7f34ec(AParcel *parcel, const std::vector< char16_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of char16_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a2c524c5db2d86aa24022ebec7c363b6e(AParcel *parcel, const std::optional< std::vector< char16_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of char16_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a958cc66f4bcd4bf0fa44b4fcf036c5a3(AParcel *parcel, const std::vector< uint8_t > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes a vector of uint8_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a894d51b5efe22d3617a55090548a3119(AParcel *parcel, const std::optional< std::vector< uint8_t >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Writes an optional vector of uint8_t to the next location in a non-null parcel. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1a6dad1fd0ebbd2a6cb6402b9f6940b919(AParcel *parcel, const std::vector< T > & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing the size of a vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1aa333ce7cf131cfa1aee99647e075fdf5(AParcel *parcel, const std::optional< std::vector< T >> & vec)` | `https://developer.android.com/ndk/reference/group/ndk-binder#group___ndk_binder_1ga26845d019135385e22a356743fdf639f` Convenience API for writing the size of a vector. |
| `https://developer.android.com/ndk/reference/namespacendk#namespacendk_1ac72b0395d692f650af19335c4cfb4541(std::ostream & os, const https://developer.android.com/ndk/reference/classndk/1-1-scoped-a-status#classndk_1_1_scoped_a_status & status)` | `std::ostream &` |

| ### Classes ||
|---|---|
| [ndk::AParcelableHolder](https://developer.android.com/ndk/reference/classndk/1-1-a-parcelable-holder) |   |
| [ndk::BnCInterface](https://developer.android.com/ndk/reference/classndk/1-1-bn-c-interface) | implementation of IInterface for server (n = native) |
| [ndk::BpCInterface](https://developer.android.com/ndk/reference/classndk/1-1-bp-c-interface) | implementation of IInterface for client (p = proxy) |
| [ndk::ICInterface](https://developer.android.com/ndk/reference/classndk/1-1-i-c-interface) | wrapper analog to IInterface |
| [ndk::ScopedAIBinder_DeathRecipient](https://developer.android.com/ndk/reference/classndk/1-1-scoped-a-i-binder-death-recipient) | Convenience wrapper. |
| [ndk::ScopedAIBinder_Weak](https://developer.android.com/ndk/reference/classndk/1-1-scoped-a-i-binder-weak) | Convenience wrapper. |
| [ndk::ScopedAParcel](https://developer.android.com/ndk/reference/classndk/1-1-scoped-a-parcel) | Convenience wrapper. |
| [ndk::ScopedAStatus](https://developer.android.com/ndk/reference/classndk/1-1-scoped-a-status) | Convenience wrapper. |
| [ndk::ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor) | Convenience wrapper for a file descriptor. |
| [ndk::SharedRefBase](https://developer.android.com/ndk/reference/classndk/1-1-shared-ref-base) | Binder analog to using std::shared_ptr for an internally held refcount. |
| [ndk::SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder) | Represents one strong pointer to an AIBinder object. |

| ### Structs ||
|---|---|
| [ndk::enum_range](https://developer.android.com/ndk/reference/structndk/1-1enum-range) | Iterable interface to enumerate all values of AIDL enum types. |

| ### Namespaces ||
|---|---|
| [ndk::impl](https://developer.android.com/ndk/reference/namespacendk/1-1impl) |   |
| [ndk::internal](https://developer.android.com/ndk/reference/namespacendk/1-1internal) |   |

## Enumerations

### Anonymous Enum 19

```text
 Anonymous Enum 19
```

| Properties ||
|---|---|
| `STABILITY_LOCAL` |   |
| `STABILITY_VINTF` |   |

## Typedefs

### parcelable_stability_t

```scdoc
int32_t parcelable_stability_t
```

## Functions

### AParcel_nullableStdArrayAllocator

```scdoc
bool AParcel_nullableStdArrayAllocator(
  void *arrayData,
  int32_t length,
  T **outBuffer
)
```
This checks the length against the array size and retrieves the buffer.

No allocation required.

### AParcel_nullableStdArrayExternalAllocator

```scdoc
bool AParcel_nullableStdArrayExternalAllocator(
  void *arrayData,
  int32_t length
)
```
This checks the length against the array size.

No allocation required.

### AParcel_nullableStdArrayGetter

```gdscript
T AParcel_nullableStdArrayGetter(
  const void *arrData,
  size_t index
)
```
This retrieves the underlying value in a std::array which may not be contiguous at index from a corresponding arrData.

### AParcel_nullableStdArraySetter

```scdoc
void AParcel_nullableStdArraySetter(
  void *arrData,
  size_t index,
  T value
)
```
This sets the underlying value in a corresponding arrData which may not be contiguous at index.

### AParcel_nullableStdArrayStringElementAllocator

```scdoc
bool AParcel_nullableStdArrayStringElementAllocator(
  void *arrData,
  size_t index,
  int32_t length,
  char **buffer
)
```
Allocates a std::string inside of std::optional, N\>\> at index 'index' to size 'length'.

### AParcel_nullableStdStringAllocator

```scdoc
bool AParcel_nullableStdStringAllocator(
  void *stringData,
  int32_t length,
  char **buffer
)
```
Allocates a string in a std::optional to size 'length' (or to std::nullopt when length is -1) and returns the underlying buffer.

For use with AParcel_readString. See use below in AParcel_readString(const AParcel\*, std::optional\*).

### AParcel_nullableStdVectorAllocator

```scdoc
bool AParcel_nullableStdVectorAllocator(
  void *vectorData,
  int32_t length,
  T **outBuffer
)
```
This retrieves and allocates a vector to size 'length' and returns the underlying buffer.

### AParcel_nullableStdVectorExternalAllocator

```scdoc
bool AParcel_nullableStdVectorExternalAllocator(
  void *vectorData,
  int32_t length
)
```
This allocates a vector to size 'length' and returns whether the allocation is successful.

See also AParcel_stdVectorAllocator. Types used with this allocator have their sizes defined externally with respect to the NDK, and that size information is not passed into the NDK. Instead, it is used in cases where callbacks are used. Note, when this allocator is used, the vector itself can be nullable.

See AParcel_readVector(const AParcel\* parcel, std::optional\>\>)

### AParcel_nullableStdVectorSetter

```scdoc
void AParcel_nullableStdVectorSetter(
  void *vectorData,
  size_t index,
  T value
)
```
This sets the underlying value in a corresponding vectorData which may not be contiguous at index.

### AParcel_nullableStdVectorStringElementAllocator

```scdoc
bool AParcel_nullableStdVectorStringElementAllocator(
  void *vectorData,
  size_t index,
  int32_t length,
  char **buffer
)
```
Allocates a string in a std::optional inside of a std::optional\>\> at index 'index' to size 'length' (or to std::nullopt when length is -1).

### AParcel_nullableStdVectorStringElementGetter

```gdscript
const char * AParcel_nullableStdVectorStringElementGetter(
  const void *vectorData,
  size_t index,
  int32_t *outLength
)
```
This gets the length and buffer of a std::optional inside of a std::vector at index index.

If the string is null, then it returns null and a length of -1.

### AParcel_readData

```gdscript
binder_status_t AParcel_readData(
  const AParcel *parcel,
  T *value
)
```
Convenience API for reading a value of any type.

### AParcel_readFixedArray

```gdscript
binder_status_t AParcel_readFixedArray(
  const AParcel *parcel,
  std::array< T, N > *arr
)
```
Reads a fixed-size array of T.

### AParcel_readFixedArrayWithNullableData

```gdscript
binder_status_t AParcel_readFixedArrayWithNullableData(
  const AParcel *parcel,
  std::array< T, N > *arr
)
```
Reads a fixed-size array of T.

### AParcel_readNullableData

```gdscript
binder_status_t AParcel_readNullableData(
  const AParcel *parcel,
  T *value
)
```
Convenience API for reading a nullable value of any type.

### AParcel_readNullableFixedArrayWithNullableData

```gdscript
binder_status_t AParcel_readNullableFixedArrayWithNullableData(
  const AParcel *parcel,
  std::optional< std::array< T, N >> *arr
)
```
Reads a fixed-size array of T.

### AParcel_readNullableParcelFileDescriptor

```gdscript
binder_status_t AParcel_readNullableParcelFileDescriptor(
  const AParcel *parcel,
  ScopedFileDescriptor *fd
)
```
Convenience method to read a ParcelFileDescriptor where -1 represents a null value.

### AParcel_readNullableParcelable

```gdscript
binder_status_t AParcel_readNullableParcelable(
  const AParcel *parcel,
  P *p
)
```
Convenience API for reading a nullable parcelable.

### AParcel_readNullableStdArrayNullableData

```gdscript
binder_status_t AParcel_readNullableStdArrayNullableData(
  const AParcel *parcel,
  void *arrayData,
  size_t index
)
```
Reads a nullable object of type T inside a std::array at index 'index' from 'parcel'.

### AParcel_readNullableStdVectorParcelableElement

```gdscript
binder_status_t AParcel_readNullableStdVectorParcelableElement(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads a parcelable object of type P inside a std::vector.

at index 'index' from 'parcel'.

### AParcel_readNullableStdVectorParcelableElement\< ScopedFileDescriptor \>

```gdscript
binder_status_t AParcel_readNullableStdVectorParcelableElement< ScopedFileDescriptor >(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::optional\> at index 'index' from 'parcel'.

### AParcel_readNullableStdVectorParcelableElement\< SpAIBinder \>

```gdscript
binder_status_t AParcel_readNullableStdVectorParcelableElement< SpAIBinder >(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::optional\> at index 'index' from 'parcel'.

### AParcel_readNullableStrongBinder

```gdscript
binder_status_t AParcel_readNullableStrongBinder(
  const AParcel *parcel,
  SpAIBinder *binder
)
```
Convenience method to read a nullable strong binder.

### AParcel_readParcelable

```gdscript
binder_status_t AParcel_readParcelable(
  const AParcel *parcel,
  P *p
)
```
Convenience API for reading a non-null parcelable.

### AParcel_readRequiredParcelFileDescriptor

```gdscript
binder_status_t AParcel_readRequiredParcelFileDescriptor(
  const AParcel *parcel,
  ScopedFileDescriptor *fd
)
```
Convenience method to read a valid ParcelFileDescriptor.

### AParcel_readRequiredStrongBinder

```gdscript
binder_status_t AParcel_readRequiredStrongBinder(
  const AParcel *parcel,
  SpAIBinder *binder
)
```
Convenience method to read a strong binder but return an error if it is null.

### AParcel_readStdArrayData

```gdscript
binder_status_t AParcel_readStdArrayData(
  const AParcel *parcel,
  void *arrayData,
  size_t index
)
```
Reads an object of type T inside a std::array at index 'index' from 'parcel'.

### AParcel_readStdArrayNullableData

```gdscript
binder_status_t AParcel_readStdArrayNullableData(
  const AParcel *parcel,
  void *arrayData,
  size_t index
)
```
Reads a nullable object of type T inside a std::array at index 'index' from 'parcel'.

### AParcel_readStdVectorParcelableElement

```gdscript
binder_status_t AParcel_readStdVectorParcelableElement(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads a parcelable object of type P inside a std::vector.

at index 'index' from 'parcel'.

### AParcel_readStdVectorParcelableElement\< ScopedFileDescriptor \>

```gdscript
binder_status_t AParcel_readStdVectorParcelableElement< ScopedFileDescriptor >(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::vector at index 'index' from 'parcel'.

### AParcel_readStdVectorParcelableElement\< SpAIBinder \>

```gdscript
binder_status_t AParcel_readStdVectorParcelableElement< SpAIBinder >(
  const AParcel *parcel,
  void *vectorData,
  size_t index
)
```
Reads an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::vector at index 'index' from 'parcel'.

### AParcel_readString

```gdscript
binder_status_t AParcel_readString(
  const AParcel *parcel,
  std::string *str
)
```
Convenience API for reading a std::string.

### AParcel_readString

```gdscript
binder_status_t AParcel_readString(
  const AParcel *parcel,
  std::optional< std::string > *str
)
```
Convenience API for reading a std::optional.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< std::string > *vec
)
```
Convenience API for reading a std::vector

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< std::optional< std::string >>> *vec
)
```
Convenience API for reading a std::optional\>\>

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< P > *vec
)
```
Convenience API for reading a std::vector.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< P >> *vec
)
```
Convenience API for reading a std::optional

\>

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< int32_t > *vec
)
```
Reads a vector of int32_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< int32_t >> *vec
)
```
Reads an optional vector of int32_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< uint32_t > *vec
)
```
Reads a vector of uint32_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< uint32_t >> *vec
)
```
Reads an optional vector of uint32_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< int64_t > *vec
)
```
Reads a vector of int64_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< int64_t >> *vec
)
```
Reads an optional vector of int64_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< uint64_t > *vec
)
```
Reads a vector of uint64_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< uint64_t >> *vec
)
```
Reads an optional vector of uint64_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< float > *vec
)
```
Reads a vector of float from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< float >> *vec
)
```
Reads an optional vector of float from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< double > *vec
)
```
Reads a vector of double from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< double >> *vec
)
```
Reads an optional vector of double from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< bool > *vec
)
```
Reads a vector of bool from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< bool >> *vec
)
```
Reads an optional vector of bool from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< char16_t > *vec
)
```
Reads a vector of char16_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< char16_t >> *vec
)
```
Reads an optional vector of char16_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::vector< uint8_t > *vec
)
```
Reads a vector of uint8_t from the next location in a non-null parcel.

### AParcel_readVector

```gdscript
binder_status_t AParcel_readVector(
  const AParcel *parcel,
  std::optional< std::vector< uint8_t >> *vec
)
```
Reads an optional vector of uint8_t from the next location in a non-null parcel.

### AParcel_resizeVector

```gdscript
binder_status_t AParcel_resizeVector(
  const AParcel *parcel,
  std::vector< T > *vec
)
```
Convenience API for resizing a vector.

### AParcel_resizeVector

```gdscript
binder_status_t AParcel_resizeVector(
  const AParcel *parcel,
  std::optional< std::vector< T >> *vec
)
```
Convenience API for resizing a vector.

### AParcel_stdArrayAllocator

```scdoc
bool AParcel_stdArrayAllocator(
  void *arrayData,
  int32_t length,
  T **outBuffer
)
```
This checks the length against the array size and retrieves the buffer.

No allocation required.

### AParcel_stdArrayExternalAllocator

```scdoc
bool AParcel_stdArrayExternalAllocator(
  void *arrayData,
  int32_t length
)
```
This checks the length against the array size.

No allocation required.

### AParcel_stdArrayGetter

```gdscript
T AParcel_stdArrayGetter(
  const void *arrData,
  size_t index
)
```
This retrieves the underlying value in a std::array which may not be contiguous at index from a corresponding arrData.

### AParcel_stdArrayNullableStringElementAllocator

```scdoc
bool AParcel_stdArrayNullableStringElementAllocator(
  void *arrData,
  size_t index,
  int32_t length,
  char **buffer
)
```
Allocates a std::string inside of std::array, N\> at index 'index' to size 'length'.

### AParcel_stdArrayNullableStringElementGetter

```gdscript
const char * AParcel_stdArrayNullableStringElementGetter(
  const void *arrData,
  size_t index,
  int32_t *outLength
)
```
This gets the length and buffer of a std::string inside of a std::array, N\> at index 'index'.

### AParcel_stdArraySetter

```scdoc
void AParcel_stdArraySetter(
  void *arrData,
  size_t index,
  T value
)
```
This sets the underlying value in a corresponding arrData which may not be contiguous at index.

### AParcel_stdArrayStringElementAllocator

```scdoc
bool AParcel_stdArrayStringElementAllocator(
  void *arrData,
  size_t index,
  int32_t length,
  char **buffer
)
```
Allocates a std::string inside of std::array at index 'index' to size 'length'.

### AParcel_stdArrayStringElementGetter

```gdscript
const char * AParcel_stdArrayStringElementGetter(
  const void *arrData,
  size_t index,
  int32_t *outLength
)
```
This gets the length and buffer of a std::string inside of a std::array at index 'index'.

### AParcel_stdStringAllocator

```scdoc
bool AParcel_stdStringAllocator(
  void *stringData,
  int32_t length,
  char **buffer
)
```
Allocates a std::string to length and returns the underlying buffer.

For use with AParcel_readString. See use below in AParcel_readString(const AParcel\*, std::string\*).

### AParcel_stdVectorAllocator

```scdoc
bool AParcel_stdVectorAllocator(
  void *vectorData,
  int32_t length,
  T **outBuffer
)
```
This retrieves and allocates a vector to size 'length' and returns the underlying buffer.

### AParcel_stdVectorExternalAllocator

```scdoc
bool AParcel_stdVectorExternalAllocator(
  void *vectorData,
  int32_t length
)
```
This allocates a vector to size 'length' and returns whether the allocation is successful.

See also AParcel_stdVectorAllocator. Types used with this allocator have their sizes defined externally with respect to the NDK, and that size information is not passed into the NDK. Instead, it is used in cases where callbacks are used. Note that when this allocator is used, null arrays are not supported.

See AParcel_readVector(const AParcel\* parcel, std::vector) See AParcel_readVector(const AParcel\* parcel, std::vector)

### AParcel_stdVectorGetter

```gdscript
T AParcel_stdVectorGetter(
  const void *vectorData,
  size_t index
)
```
This retrieves the underlying value in a vector which may not be contiguous at index from a corresponding vectorData.

### AParcel_stdVectorSetter

```scdoc
void AParcel_stdVectorSetter(
  void *vectorData,
  size_t index,
  T value
)
```
This sets the underlying value in a corresponding vectorData which may not be contiguous at index.

### AParcel_stdVectorStringElementAllocator

```scdoc
bool AParcel_stdVectorStringElementAllocator(
  void *vectorData,
  size_t index,
  int32_t length,
  char **buffer
)
```
Allocates a std::string inside of a std::vector at index 'index' to size 'length'.

### AParcel_stdVectorStringElementGetter

```gdscript
const char * AParcel_stdVectorStringElementGetter(
  const void *vectorData,
  size_t index,
  int32_t *outLength
)
```
This gets the length and buffer of a std::string inside of a std::vector at index index.

### AParcel_writeData

```gdscript
binder_status_t AParcel_writeData(
  AParcel *parcel,
  const T & value
)
```
Convenience API for writing a value of any type.

### AParcel_writeFixedArray

```gdscript
binder_status_t AParcel_writeFixedArray(
  AParcel *parcel,
  const std::array< T, N > & arr
)
```
Writes a fixed-size array of T.

### AParcel_writeFixedArrayWithNullableData

```gdscript
binder_status_t AParcel_writeFixedArrayWithNullableData(
  AParcel *parcel,
  const std::array< T, N > & arr
)
```
Writes a fixed-size array of T.

### AParcel_writeNullableData

```gdscript
binder_status_t AParcel_writeNullableData(
  AParcel *parcel,
  const T & value
)
```
Convenience API for writing a nullable value of any type.

### AParcel_writeNullableFixedArrayWithNullableData

```gdscript
binder_status_t AParcel_writeNullableFixedArrayWithNullableData(
  AParcel *parcel,
  const std::optional< std::array< T, N >> & arr
)
```
Writes a fixed-size array of T.

### AParcel_writeNullableParcelFileDescriptor

```gdscript
binder_status_t AParcel_writeNullableParcelFileDescriptor(
  AParcel *parcel,
  const ScopedFileDescriptor & fd
)
```
Convenience method to write a ParcelFileDescriptor where -1 represents a null value.

### AParcel_writeNullableParcelable

```gdscript
binder_status_t AParcel_writeNullableParcelable(
  AParcel *parcel,
  const P & p
)
```
Convenience API for writing a nullable parcelable.

### AParcel_writeNullableStdVectorParcelableElement

```gdscript
binder_status_t AParcel_writeNullableStdVectorParcelableElement(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes a parcelable object of type P inside a std::vector.

at index 'index' to 'parcel'.

### AParcel_writeNullableStdVectorParcelableElement\< ScopedFileDescriptor \>

```gdscript
binder_status_t AParcel_writeNullableStdVectorParcelableElement< ScopedFileDescriptor >(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::optional\> at index 'index' to 'parcel'.

### AParcel_writeNullableStdVectorParcelableElement\< SpAIBinder \>

```gdscript
binder_status_t AParcel_writeNullableStdVectorParcelableElement< SpAIBinder >(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::optional\> at index 'index' to 'parcel'.

### AParcel_writeNullableStrongBinder

```gdscript
binder_status_t AParcel_writeNullableStrongBinder(
  AParcel *parcel,
  const SpAIBinder & binder
)
```
Convenience method to write a nullable strong binder.

### AParcel_writeParcelable

```gdscript
binder_status_t AParcel_writeParcelable(
  AParcel *parcel,
  const P & p
)
```
Convenience API for writing a non-null parcelable.

### AParcel_writeRequiredParcelFileDescriptor

```gdscript
binder_status_t AParcel_writeRequiredParcelFileDescriptor(
  AParcel *parcel,
  const ScopedFileDescriptor & fd
)
```
Convenience method to write a valid ParcelFileDescriptor.

### AParcel_writeRequiredStrongBinder

```gdscript
binder_status_t AParcel_writeRequiredStrongBinder(
  AParcel *parcel,
  const SpAIBinder & binder
)
```
Convenience method to write a strong binder but return an error if it is null.

### AParcel_writeStdArrayData

```gdscript
binder_status_t AParcel_writeStdArrayData(
  AParcel *parcel,
  const void *arrayData,
  size_t index
)
```
Writes an object of type T inside a std::array at index 'index' to 'parcel'.

### AParcel_writeStdArrayNullableData

```gdscript
binder_status_t AParcel_writeStdArrayNullableData(
  AParcel *parcel,
  const void *arrayData,
  size_t index
)
```
Writes a nullable object of type T inside a std::array at index 'index' to 'parcel'.

### AParcel_writeStdVectorParcelableElement

```gdscript
binder_status_t AParcel_writeStdVectorParcelableElement(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes a parcelable object of type P inside a std::vector.

at index 'index' to 'parcel'.

### AParcel_writeStdVectorParcelableElement\< ScopedFileDescriptor \>

```gdscript
binder_status_t AParcel_writeStdVectorParcelableElement< ScopedFileDescriptor >(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes a [ScopedFileDescriptor](https://developer.android.com/ndk/reference/classndk/1-1-scoped-file-descriptor#classndk_1_1_scoped_file_descriptor) object inside a std::vector at index 'index' to 'parcel'.

### AParcel_writeStdVectorParcelableElement\< SpAIBinder \>

```gdscript
binder_status_t AParcel_writeStdVectorParcelableElement< SpAIBinder >(
  AParcel *parcel,
  const void *vectorData,
  size_t index
)
```
Writes an [SpAIBinder](https://developer.android.com/ndk/reference/classndk/1-1-sp-a-i-binder#classndk_1_1_sp_a_i_binder) object inside a std::vector at index 'index' to 'parcel'.

### AParcel_writeString

```gdscript
binder_status_t AParcel_writeString(
  AParcel *parcel,
  const std::string & str
)
```
Convenience API for writing a std::string.

### AParcel_writeString

```gdscript
binder_status_t AParcel_writeString(
  AParcel *parcel,
  const std::optional< std::string > & str
)
```
Convenience API for writing a std::optional.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< std::string > & vec
)
```
Convenience API for writing a std::vector

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< std::optional< std::string >>> & vec
)
```
Convenience API for writing a std::optional\>\>

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< P > & vec
)
```
Convenience API for writing a std::vector.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< P >> & vec
)
```
Convenience API for writing a std::optional

\>

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< int32_t > & vec
)
```
Writes a vector of int32_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< int32_t >> & vec
)
```
Writes an optional vector of int32_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< uint32_t > & vec
)
```
Writes a vector of uint32_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< uint32_t >> & vec
)
```
Writes an optional vector of uint32_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< int64_t > & vec
)
```
Writes a vector of int64_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< int64_t >> & vec
)
```
Writes an optional vector of int64_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< uint64_t > & vec
)
```
Writes a vector of uint64_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< uint64_t >> & vec
)
```
Writes an optional vector of uint64_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< float > & vec
)
```
Writes a vector of float to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< float >> & vec
)
```
Writes an optional vector of float to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< double > & vec
)
```
Writes a vector of double to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< double >> & vec
)
```
Writes an optional vector of double to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< bool > & vec
)
```
Writes a vector of bool to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< bool >> & vec
)
```
Writes an optional vector of bool to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< char16_t > & vec
)
```
Writes a vector of char16_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< char16_t >> & vec
)
```
Writes an optional vector of char16_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::vector< uint8_t > & vec
)
```
Writes a vector of uint8_t to the next location in a non-null parcel.

### AParcel_writeVector

```gdscript
binder_status_t AParcel_writeVector(
  AParcel *parcel,
  const std::optional< std::vector< uint8_t >> & vec
)
```
Writes an optional vector of uint8_t to the next location in a non-null parcel.

### AParcel_writeVectorSize

```gdscript
binder_status_t AParcel_writeVectorSize(
  AParcel *parcel,
  const std::vector< T > & vec
)
```
Convenience API for writing the size of a vector.

### AParcel_writeVectorSize

```gdscript
binder_status_t AParcel_writeVectorSize(
  AParcel *parcel,
  const std::optional< std::vector< T >> & vec
)
```
Convenience API for writing the size of a vector.

### operator\<\<

```gdscript
std::ostream & operator<<(
  std::ostream & os,
  const ScopedAStatus & status
)
```