include module type of sig ... end
val sexp_of_t : t ‑> Base__.Sexplib.Sexp.t
val create : int ‑> t
val contents : t ‑> string
val blit : (t, string) Base.Blit_intf.blit
val blito : (t, string) Base.Blit_intf.blito
val unsafe_blit : (t, string) Base.Blit_intf.blit
val sub : (t, string) Base.Blit_intf.sub
val subo : (t, string) Base.Blit_intf.subo
val nth : t ‑> int ‑> char
val length : t ‑> int
val clear : t ‑> unit
val reset : t ‑> unit
val add_char : t ‑> char ‑> unit
val add_string : t ‑> string ‑> unit
val add_substring : t ‑> string ‑> pos:int ‑> len:int ‑> unit
val big_contents : t ‑> Core_kernel.Bigstring.t
val volatile_contents : t ‑> Core_kernel.Bigstring.t
val add_bigstring : t ‑> Core_kernel.Bigstring.t ‑> Core_kernel__.Import.unit
val add_substitute : t ‑> (Core_kernel__.Import.string ‑> Core_kernel__.Import.string) ‑> Core_kernel__.Import.string ‑> Core_kernel__.Import.unit
module Format = Core_kernel__Bigbuffer.Format
module Printf = Core_kernel__Bigbuffer.Printf
val __internal : t ‑> Core_kernel__.Bigbuffer_internal.t
val add_channel : t ‑> Core__.Import.In_channel.t ‑> int ‑> unit
add_channel b ic n
reads exactly n
character from the
input channel ic
and stores them at the end of buffer b
.
Raise End_of_file
if the channel contains fewer than n
characters.
val output_buffer : Core__.Import.Out_channel.t ‑> t ‑> unit
output_buffer oc b
writes the current contents of buffer b
on the output channel oc
.