Прочитај на енглеском Уреди

Делите путем


Utf8.IsValid(ReadOnlySpan<Byte>) Method

Definition

Validates that the value is well-formed UTF-8.

C#
public static bool IsValid(ReadOnlySpan<byte> value);

Parameters

value
ReadOnlySpan<Byte>

The ReadOnlySpan<T> string.

Returns

true if value is well-formed UTF-8, false otherwise.

Applies to

Производ Верзије
.NET 8, 9, 10