Partager via


Parcel.WriteByte(SByte) Method

Definition

Write a byte value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

[Android.Runtime.Register("writeByte", "(B)V", "")]
public void WriteByte (sbyte val);
[<Android.Runtime.Register("writeByte", "(B)V", "")>]
member this.WriteByte : sbyte -> unit

Parameters

val
SByte
Attributes

Remarks

Write a byte value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Note: This method currently delegates to writeInt but may change in the future.

Java documentation for android.os.Parcel.writeByte(byte).

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.

Applies to