Edit

Share via


Buffer.AddUtf8 Method

Definition

Overloads

AddUtf8(ReadOnlySpan<Byte>, Int32, Int32)

public void AddUtf8(ReadOnlySpan<byte> text, int itemOffset, int itemLength);

Parameters

itemOffset
Int32
itemLength
Int32

Applies to

AddUtf8(Byte[])

Appends the specified text bytes to the buffer.

public void AddUtf8(byte[] bytes);

Parameters

bytes
Byte[]

The array of UTF-8 character bytes to append.

Applies to

AddUtf8(ReadOnlySpan<Byte>)

public void AddUtf8(ReadOnlySpan<byte> text);

Parameters

Applies to

AddUtf8(String)

Appends the specified text to the buffer.

public void AddUtf8(string utf8text);

Parameters

utf8text
String

The array of UTF-8 characters to append.

Applies to

AddUtf8(IntPtr, Int32)

public void AddUtf8(IntPtr text, int textLength);

Parameters

text
IntPtr
textLength
Int32

Applies to

AddUtf8(IntPtr, Int32, Int32, Int32)

public void AddUtf8(IntPtr text, int textLength, int itemOffset, int itemLength);

Parameters

text
IntPtr
textLength
Int32
itemOffset
Int32
itemLength
Int32

Applies to