Read command-line argument data
The args_get()
function is used to read the command-line argument data provided to the WebAssembly module. The sizes of the buffers should match the values returned by the args_sizes_get()
function.
Note
The args_get()
function reads the command-line argument data provided to the WebAssembly module. The argument pointers and string data are written to the specified buffers. The actual data is retrieved from the WebAssembly module's state.