package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685

doc/orsetto.ucs/Ucs_stream_safe/index.html

Module Ucs_stream_safe

Unicode Stream Safe Format

The Unicode standard includes a specification of a stream-safe format suitable for use in constrained resource applications that would benefit from normalization. A stream-safe sequence is one that would not contain any sequences of non-starter code points of length greater than 30 when normalized to NFKD.

Interface
val check : Uchar.t Seq.t -> bool

Use check s to consume s and return true if the sequence conforms to the stream-safe format.

val transform : Uchar.t Seq.t -> Uchar.t Seq.t

Use transform s to convert s into its stream-safe format equivalent.

OCaml

Innovation. Community. Security.

On This Page
  1. Interface