EventFdReadwrite

data class EventFdReadwrite(val nbytes: Filesize, val flags: Eventrwflags)(source)

WASI Preview1 type $event_fd_readwrite

The contents of an event when type is eventtype::fd_read or eventtype::fd_write.

Parameters

nbytes

The number of bytes available for reading or writing.

flags

The state of the file descriptor.

Definition:

(typename $event_fd_readwrite
(record
;;; The number of bytes available for reading or writing.
(field $nbytes $filesize)
;;; The state of the file descriptor.
(field $flags $eventrwflags)
)
)

Constructors

Link copied to clipboard
constructor(nbytes: Filesize, flags: Eventrwflags)

Properties

Link copied to clipboard
Link copied to clipboard