Udostępnij za pośrednictwem


ObjectInputStream.ReadChar Method

Definition

Reads a 16 bit char.

[Android.Runtime.Register("readChar", "()C", "GetReadCharHandler")]
public virtual char ReadChar ();
[<Android.Runtime.Register("readChar", "()C", "GetReadCharHandler")>]
abstract member ReadChar : unit -> char
override this.ReadChar : unit -> char

Returns

the 16 bit char read.

Implements

Attributes

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an error occurs while reading from the source stream.

Remarks

Reads a 16 bit char.

Java documentation for java.io.ObjectInputStream.readChar().

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