libbinder: Parcel APIs for fixed-size arrays
readFixedArray/writeFixedArray for std::array<T,N> are added to Parcel class. These recursively calls readData/writeData when arrays are nested. Arrays of primitive values are serialized as contiguous values just like std::vector<T>. For example, std::array<uint8_t, N> is serialized in single-byte strides. Bug: 207087196 Test: binder_parcel_fuzzer Change-Id: I333c386cbe281d44ce15b45a343d03cdbbdccb6d
Loading
Please register or sign in to comment