Module type Cf_unicode.Encoding_T

module type Encoding_T = sig .. end
The module type defining the relationship between UCS4 and a given UTF encoding of Unicode characters.

val to_ucs4 : (char Cf_seq.t option, int) Cf_flow.t
A flow that transcodes an encoded character stream into a stream of 31-bit UCS4 integer codes.
val of_ucs4 : (int, char) Cf_flow.t
A flow that reads a stream of 31-bit UCS4 integer codes and writes them as a stream of encoded characters.