package containers
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=52eeff91ce42b52305e6aaa8a58b88ce8f0a5a984199e59ca7e2fd9ebabe61d7
sha512=dc7337e6cbc9850542c7c9228d3bcb4e4add57a55e2a2992f21fb4761b3e10a68ef1d57ca37a7f5b303fc875fe3df5ecb69dbf2930bfcd1561ce03f7ae83e24b
doc/containers/CCUtf8_string/index.html
Module CCUtf8_stringSource
Unicode String, in UTF8
A unicode string represented by a utf8 bytestring. This representation is convenient for manipulating normal OCaml strings that are encoded in UTF8.
We perform only basic decoding and encoding between codepoints and bytestrings. For more elaborate operations, please use the excellent Uutf.
status: experimental
Fast internal iterator.
A UTF8 string
Malformed string at given offset
Iter of unicode codepoints. Renamed from to_std_seq since 3.0.
concat sep l concatenates each string in l, inserting sep in between each string. Similar to Concatenating.
Build a string from unicode codepoints Renamed from of_std_seq since 3.0.
Translate the unicode codepoint to a list of utf-8 bytes. This can be used, for example, in combination with Buffer.add_char on a pre-allocated buffer to add the bytes one by one (despite its name, Buffer.add_char takes individual bytes, not unicode codepoints).
Safe version of of_string_exn.
Valid UTF8?