mer-hybris / libgbinder

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

Fix serialization issues on big-endian systems #112

Closed monich closed 1 year ago

monich commented 1 year ago

Note that Android's libhwbinder and libbinder encode true value differently on big-endian machines (0x01 becomes either first or last of 4 bytes) but reading uint32 and comparing it with zero works in either case.

monich commented 1 year ago

Will tag after #110 is rebased and merged