Edit

Share via


BlobBuilder.WriteUTF8(String, Boolean) Method

Definition

Writes a UTF8 encoded string at the current position.

public void WriteUTF8 (string value, bool allowUnpairedSurrogates = true);
member this.WriteUTF8 : string * bool -> unit
Public Sub WriteUTF8 (value As String, Optional allowUnpairedSurrogates As Boolean = true)

Parameters

value
String

Constant value.

allowUnpairedSurrogates
Boolean

true to encode unpaired surrogates as specified; false to replace them with a U+FFFD character.

Exceptions

value is null.

Builder is not writable, it has been linked with another one.

Applies to