Iovec

data class Iovec(val buf: Int, val bufLen: Size)(source)

WASI Preview1 type $iovec

A region of memory for scatter/gather reads.

Parameters

buf

The address of the buffer to be filled.

bufLen

The length of the buffer to be filled.

Definition:

(typename $iovec
(record
;;; The address of the buffer to be filled.
(field $buf (@witx pointer u8))
;;; The length of the buffer to be filled.
(field $buf_len $size)
)
)

Constructors

Link copied to clipboard
constructor(buf: Int, bufLen: Size)

Properties

Link copied to clipboard
val buf: Int

(pointer u8)

Link copied to clipboard