Buffer.AddCodepoints 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
| Name | Description |
|---|---|
| AddCodepoints(ReadOnlySpan<Int32>) |
Appends characters from the span to the buffer. |
| AddCodepoints(ReadOnlySpan<UInt32>) |
Appends characters from the span to the buffer. |
| AddCodepoints(IntPtr, Int32) |
Appends characters from the pointer to the buffer. |
| AddCodepoints(ReadOnlySpan<Int32>, Int32, Int32) |
Appends characters from the span to the buffer. |
| AddCodepoints(ReadOnlySpan<UInt32>, Int32, Int32) |
Appends characters from the span to the buffer. |
| AddCodepoints(IntPtr, Int32, Int32, Int32) |
Appends characters from the pointer to the buffer. |
AddCodepoints(ReadOnlySpan<Int32>)
Appends characters from the span to the buffer.
public void AddCodepoints(ReadOnlySpan<int> text);
Parameters
- text
- ReadOnlySpan<Int32>
The span of Unicode code points to append.
Remarks
This function does not check the validity of the characters.
Applies to
AddCodepoints(ReadOnlySpan<UInt32>)
Appends characters from the span to the buffer.
public void AddCodepoints(ReadOnlySpan<uint> text);
Parameters
- text
- ReadOnlySpan<UInt32>
The span of Unicode code points to append.
Remarks
This function does not check the validity of the characters.
Applies to
AddCodepoints(IntPtr, Int32)
Appends characters from the pointer to the buffer.
public void AddCodepoints(IntPtr text, int textLength);
Parameters
- text
- IntPtr
A pointer to an array of Unicode code points.
- textLength
- Int32
The number of code points in the array.
Remarks
This function does not check the validity of the characters.
Applies to
AddCodepoints(ReadOnlySpan<Int32>, Int32, Int32)
Appends characters from the span to the buffer.
public void AddCodepoints(ReadOnlySpan<int> text, int itemOffset, int itemLength);
Parameters
- text
- ReadOnlySpan<Int32>
The span of Unicode code points to append.
- itemOffset
- Int32
The offset of the first code point to add to the buffer.
- itemLength
- Int32
The number of code points to add to the buffer, or -1 for the end of the text.
Remarks
This function does not check the validity of the characters.
Applies to
AddCodepoints(ReadOnlySpan<UInt32>, Int32, Int32)
Appends characters from the span to the buffer.
public void AddCodepoints(ReadOnlySpan<uint> text, int itemOffset, int itemLength);
Parameters
- text
- ReadOnlySpan<UInt32>
The span of Unicode code points to append.
- itemOffset
- Int32
The offset of the first code point to add to the buffer.
- itemLength
- Int32
The number of code points to add to the buffer, or -1 for the end of the text.
Remarks
This function does not check the validity of the characters.
Applies to
AddCodepoints(IntPtr, Int32, Int32, Int32)
Appends characters from the pointer to the buffer.
public void AddCodepoints(IntPtr text, int textLength, int itemOffset, int itemLength);
Parameters
- text
- IntPtr
A pointer to an array of Unicode code points.
- textLength
- Int32
The number of code points in the array.
- itemOffset
- Int32
The offset of the first code point to add to the buffer.
- itemLength
- Int32
The number of code points to add to the buffer, or -1 for the end of the text.
Remarks
This function does not check the validity of the characters.