← Standard library

TryDecodeUtf8At

public fn TryDecodeUtf8At(ReadOnlySpan<uint8> bytes, int32 off, int32 remaining) : Utf8Decoded?
import TryDecodeUtf8At from Wax;

Strictly decodes one UTF-8 sequence, returning null for malformed or truncated input. The caller must supply an in-range off and positive remaining no larger than the bytes available from that offset. Use string.FromUtf8 to validate a whole buffer.

String.wax:1227

This declaration has no public members of its own.