Buffer.AddUtf8 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.
Overloads
| AddUtf8(ReadOnlySpan<Byte>, Int32, Int32) | |
| AddUtf8(Byte[]) |
Appends the specified text bytes to the buffer. |
| AddUtf8(ReadOnlySpan<Byte>) | |
| AddUtf8(String) |
Appends the specified text to the buffer. |
| AddUtf8(IntPtr, Int32) | |
| AddUtf8(IntPtr, Int32, Int32, Int32) |
AddUtf8(ReadOnlySpan<Byte>, Int32, Int32)
public void AddUtf8(ReadOnlySpan<byte> text, int itemOffset, int itemLength);
Parameters
- text
- ReadOnlySpan<Byte>
- 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>)
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.