Bagikan melalui


ObjectOutputStream.WriteShort(Int32) Method

Definition

Writes a 16 bit short.

[Android.Runtime.Register("writeShort", "(I)V", "GetWriteShort_IHandler")]
public virtual void WriteShort (int val);
[<Android.Runtime.Register("writeShort", "(I)V", "GetWriteShort_IHandler")>]
abstract member WriteShort : int -> unit
override this.WriteShort : int -> unit

Parameters

val
Int32

the short value to be written

Implements

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Writes a 16 bit short.

Java documentation for java.io.ObjectOutputStream.writeShort(int).

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