Pi.SINK
type t
val single_write : t -> Cstruct.t list -> int
val copy : t -> src:_ source -> unit
copy t ~src allows for optimising copy operations.
copy t ~src
If you have no optimisations, you can use simple_copy to implement this using single_write.
simple_copy
single_write