Android Guides | Samples

Android.OS.Parcel.Marshall Method

Returns the raw bytes of the parcel.


[Android.Runtime.Register("marshall", "()[B", "")]
public Byte[] Marshall ()


Returns the raw bytes of the parcel.

The data you retrieve here must not be placed in any kind of persistent storage (on local disk, across a network, etc). For that, you should use standard serialization or another kind of general serialization mechanism. The Parcel marshalled representation is highly optimized for local IPC, and as such does not attempt to maintain compatibility with data created in different versions of the platform.

[Android Documentation]


Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions:
Since: Added in API level 1