package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.0.tar.gz
sha256=e924c3f80906c44871c62870d9472956ff043a14a4c17e886302bf47e6ca71e1
md5=f611099ba6eae6ea3f6b46a21e30effc

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.