Module Delimited_kernel__.Append_only_buffer
val create : ?capacity:int -> unit -> 'a t
val append : 'a t -> 'a -> unit
val nth_exn : 'a t -> int -> 'a
val of_list : 'a list -> 'a t
val to_list : 'a t -> 'a list
val to_array : 'a t -> 'a array
val length : 'a t -> int
val lax_clear : 'a t -> unit
Clear the buffer so it is empty again.
This is lax in that clearing the buffer does not necessarily allow things that were in the buffer to be garbage collected.