Parcel.Marshall Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the raw bytes of the parcel.
[Android.Runtime.Register("marshall", "()[B", "")]
public byte[]? Marshall ();
[<Android.Runtime.Register("marshall", "()[B", "")>]
member this.Marshall : unit -> byte[]
Returns
- Attributes
Remarks
Returns the raw bytes of the parcel.
<p class="note">The data you retrieve here <strong>must not</strong> 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.
Java documentation for android.os.Parcel.marshall()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.