Udostępnij za pośrednictwem


SerializationExtensions.ReadUTF8String(BinaryReader) Method

Definition

Reads a string with UTF8 encoding that was written via WriteUTF8String method from a reader

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ ReadUTF8String(System::IO::BinaryReader ^ reader);
public static string ReadUTF8String (this System.IO.BinaryReader reader);
static member ReadUTF8String : System.IO.BinaryReader -> string
<Extension()>
Public Function ReadUTF8String (reader As BinaryReader) As String

Parameters

reader
BinaryReader

The reader to read from

Returns

the string read from stream

Applies to