Uchar.Decode_result
Result of decoding a UTF codec that may contain invalid encodings.
type t = Uchar.utf_decode
val hash_fold_t : Hash.state -> t -> Hash.state
val hash : t -> Hash.hash_value
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : t -> bool
true
iff t
represents a Unicode scalar value.
val bytes_consumed : t -> int
Number of bytes consumed to decode t
.