package uwt

  1. Overview
  2. Docs

pass multiple buffers at once to a libuv write function.

  • first integer: offset in string / bytes / bigarray
  • second integer: number of bytes to write
type t = Uwt_base.Iovec_write.t =
  1. | Bigarray of buf * int * int
  2. | String of string * int * int
  3. | Bytes of bytes * int * int
val drop : t list -> int -> t list

drop tl n adjusts the I/O vector list tl so that it no longer includes its first n bytes.