marshall

fun marshall(parcelable: Parcelable): ByteArray

Marshalls the provided Parcelable i.e. returns a byte array representation of the Parcelable. Do not persist the marshalled Parcelable. Also, if used for IPC, make sure both applications have the same version of the Objects in the Parcelable.