DecodeFromUtf8()
Rune::DecodeFromUtf8(ReadOnlySpan<uint8_t>, Rune&, int32_t&) method
Decodes the Rune at the beginning of the provided UTF-8 source buffer.
static Buffers::OperationStatus System::Text::Rune::DecodeFromUtf8(ReadOnlySpan<uint8_t> source, Rune &result, int32_t &bytesConsumed)
Arguments
| Parameter | Type | Description |
|---|---|---|
| source | ReadOnlySpan<uint8_t> | The buffer to decode from. |
| result | Rune& | The decoded Rune, or the replacement character if the data is ill-formed. |
| bytesConsumed | int32_t& | The number of bytes 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