Module type 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.

If you have no optimisations, you can use simple_copy to implement this using single_write.