package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.3.tar.gz
sha256=151ca6df499bd3de7aa89a4e1627411fbee24c4dea6e0e71ce21f06f181ee654
md5=00393728b481c2bf15919a8202732335

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