Class: WASI::IOVec
Overview
An IOVec is an array of (address to buffer, length of buffer) where WASM runtime can read data coming from the WASM module
Constant Summary collapse
- IOV_SIZE =
1024
Instance Attribute Summary collapse
-
#iovs ⇒ Object
readonly
Returns the value of attribute iovs.
Instance Method Summary collapse
- #free ⇒ Object
-
#initialize(n) ⇒ IOVec
constructor
A new instance of IOVec.
Constructor Details
Instance Attribute Details
#iovs ⇒ Object (readonly)
Returns the value of attribute iovs.
55 56 57 |
# File 'lib/rlang/lib/wasi.rb', line 55 def iovs @iovs end |