共用方式為


DataInputStream.ReadChar Method

Definition

See the general contract of the readChar method of DataInput.

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

Returns

the next two bytes of this input stream, interpreted as a char.

Implements

Attributes

Exceptions

Remarks

See the general contract of the readChar method of DataInput.

Bytes for this operation are read from the contained input stream.

Java documentation for java.io.DataInputStream.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