Method WriteString
WriteString(string)
Writes a string: the UTF-8 length as a long, then the UTF-8 bytes, encoded in place.
public void WriteString(string value)
Parameters
valuestringThe string.
WriteString(scoped ReadOnlySpan<char>)
Writes a string: the UTF-8 length as a long, then the UTF-8 bytes, encoded in place.
public void WriteString(scoped ReadOnlySpan<char> value)
Parameters
valueReadOnlySpan<char>The characters.