Skip to content

Utf8YamlWriter.WriteStringValue Method

Definition

Namespace: Corvus.Text.Json.Yaml
Assembly: Corvus.Text.Json.dll

WriteStringValue(ReadOnlySpan<byte>)

Writes a string value, quoting it if necessary to preserve round-trip safety.

public void WriteStringValue(ReadOnlySpan<byte> utf8Value)

Parameters

Name Type Description
utf8Value ReadOnlySpan<byte> The UTF-8 encoded string value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

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.

Open an issue