mer-hybris / libgbinder

GLib-style interface to binder
BSD 3-Clause "New" or "Revised" License
51 stars 40 forks source link

[gbinder] Byte array padding #124

Closed abranson closed 6 months ago

abranson commented 6 months ago

Android aligns byte array reads and writes to 4 bytes and pads with 0xFF. Not accounting for this causes misalignment issues on further reading.

See Parcel::writeInplace()