package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.3.tar.gz
sha256=9e653a9fc7a13c5435a58780ddf02ff15c8ff92f63f6ff4406b1d312e3060807
md5=549517d3e9bcf5533097e4c83f891e2c

doc/uwt.base/Uwt_base/Iovec_write/index.html

Module Uwt_base.Iovec_write

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 =
  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.