I'm using a GoogleApiClient MessageApi method which accepts an arbitrary payload specified as a byte array.
For my payload I have some strings and a Bitmap that I want to transfer all together in one go.
What options are there available for packaging the strings and bitmaps and converting to a byte array?