DecodeFromUtf16()
Rune::DecodeFromUtf16(ReadOnlySpan<char16_t>, Rune&, int32_t&) method
Decodes the Rune at the beginning of the provided UTF-16 source buffer.
static Buffers::OperationStatus System::Text::Rune::DecodeFromUtf16(ReadOnlySpan<char16_t> source, Rune &result, int32_t &charsConsumed)
Arguments
| Parameter | Type | Description |
|---|---|---|
| source | ReadOnlySpan<char16_t> | The buffer to decode from. |
| result | Rune& | The decoded Rune, or the replacement character if the data is ill-formed. |
| charsConsumed | int32_t& | The number of code units consumed from the source buffer. |
Return Value
The status of the decoding operation.
See Also
- Enum OperationStatus
- Class ReadOnlySpan
- Struct Rune
- Namespace System::Text
- Library Aspose.Slides