BlobBuilder.WriteUTF8(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.