package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085

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