val size : Sexplib0.Sexp.t -> int * int
val buffer : unit -> Stdlib.Buffer.t
val to_buffer : buf:Stdlib.Buffer.t -> Sexplib0.Sexp.t -> unit
val to_buffer_hum :
buf:Stdlib.Buffer.t ->
?indent:int ->
Sexplib0.Sexp.t ->
unit
val to_buffer_mach : buf:Stdlib.Buffer.t -> Sexplib0.Sexp.t -> unit
val to_buffer_gen :
buf:'buffer ->
add_char:( 'buffer -> char -> unit ) ->
add_string:( 'buffer -> string -> unit ) ->
Sexplib0.Sexp.t ->
unit
val mach_maybe_esc_str : string -> string
val must_escape : string -> bool
val esc_str : string -> string