Android.OS.Parcel.SetDataSize Method
Change the amount of data in the parcel.

Syntax

[Android.Runtime.Register("setDataSize", "(I)V", "")]
public void SetDataSize (int size)

Parameters

size
The new number of bytes in the Parcel.

Remarks

Change the amount of data in the parcel. Can be either smaller or larger than the current size. If larger than the current capacity, more memory will be allocated.

[Android Documentation]

Requirements

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