Partager via


SerializationExtensions.WriteUTF8String(BinaryWriter, String) Method

Definition

Writes a string with UTF8 encoding and prefixed with length.

public:
[System::Runtime::CompilerServices::Extension]
 static void WriteUTF8String(System::IO::BinaryWriter ^ writer, System::String ^ value);
public static void WriteUTF8String (this System.IO.BinaryWriter writer, string value);
static member WriteUTF8String : System.IO.BinaryWriter * string -> unit
<Extension()>
Public Sub WriteUTF8String (writer As BinaryWriter, value As String)

Parameters

writer
BinaryWriter

Writer to write to

value
String

String to be written

Applies to