次の方法で共有


ObjectInputStream.ReadUTF Method

Definition

Reads a String in modified UTF-8 format.

[Android.Runtime.Register("readUTF", "()Ljava/lang/String;", "GetReadUTFHandler")]
public virtual string? ReadUTF ();
[<Android.Runtime.Register("readUTF", "()Ljava/lang/String;", "GetReadUTFHandler")>]
abstract member ReadUTF : unit -> string
override this.ReadUTF : unit -> string

Returns

the String.

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 String in modified UTF-8 format.

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

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