package uwt

  1. Overview
  2. Docs
libuv bindings

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uwt-0.3.0.2.tar.gz
sha256=1c4a49f4cffc017fff8a47563653f5a9ed4007bbd6705fd9737a211ff3d864e2
md5=25fbbf9b39c072f9667e6fdfba108556

doc/uwt.async/Uwt/Iovec_write/index.html

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