prettym

An memory-bounded encoder according to RFC 822
IN THIS PACKAGE
Module Prettym . Buffer
type t =
| Bigstring of Bigstringaf.t
| String of string
| Bytes of bytes
val weight : t -> int

Weight of t.

val sub : t -> int -> int -> t

sub t off len does a sub operation of t of len bytes starting at off.