SequenceValidity
enum SequenceValidity
Represents the validity of a UTF code unit sequence.
Empty = 0
The sequence is empty.
Incomplete = 2
The sequence is not well-formed on its own, but it could appear as a prefix
of a longer well-formed sequence. More code units are needed to make a proper
determination as to whether this sequence is well-formed. Incomplete sequences
can only appear at the end of a string.
Invalid = 3
The sequence is never well-formed anywhere, or this sequence can never appear as a prefix
of a longer well-formed sequence, or the sequence was improperly terminated by the code
unit which appeared immediately after this sequence.
WellFormed = 1
The sequence is well-formed and unambiguously represents a proper Unicode scalar value.