Android unmarshalling from Parcel

When unmarshalling from a byte array into a Parcel object, be sure to reset (setDataPosition(0)) it before reading out any object.


Parcel p = Parcel.obtain();
p.unmarshall(buff, 0, length);
return p.readBundle();

0 Responses to “Android unmarshalling from Parcel”

  • No Comments

Leave a Reply

You must login to post a comment.