package orsetto

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

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.2.tar.gz
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1

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