BlobBuilder.WriteUTF16 Method

Definition

Overloads

WriteUTF16(Char[])

Writes a UTF16 (little-endian) encoded character array at the current position.

WriteUTF16(String)

Writes UTF16 (little-endian) encoded string at the current position.

WriteUTF16(Char[])

Source:
BlobBuilder.cs
Source:
BlobBuilder.cs
Source:
BlobBuilder.cs
Source:
BlobBuilder.cs

Writes a UTF16 (little-endian) encoded character array at the current position.

C#
public void WriteUTF16(char[] value);

Parameters

value
Char[]

Exceptions

value is null.

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

Applies to

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)

WriteUTF16(String)

Source:
BlobBuilder.cs
Source:
BlobBuilder.cs
Source:
BlobBuilder.cs
Source:
BlobBuilder.cs

Writes UTF16 (little-endian) encoded string at the current position.

C#
public void WriteUTF16(string value);

Parameters

value
String

Exceptions

value is null.

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

Applies to

.NET 10 och andra versioner
Produkt Versioner
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)