Module type CCString.S

module type S = sig .. end

type t 
val length : t -> int
val blit : t -> int -> Bytes.t -> int -> int -> unit
Similar to String.blit. Compatible with the -safe-string option.
Raises Invalid_argument if indices are not valid
val fold : ('a -> char -> 'a) -> 'a -> t -> 'a
Fold on chars by increasing index.
Since 0.7

Conversions


val to_gen : t -> char CCString.gen
val to_seq : t -> char CCString.sequence
val to_klist : t -> char CCString.klist
val to_list : t -> char list
val pp : Buffer.t -> t -> unit
val print : Format.formatter -> t -> unit
Print the string within quotes