Skip to main content

Module debug_value

Module debug_value 

Source
Expand description

Decodes a script-mode program’s result from its output buffer. The result is the run of DebugValue entities (other entities, such as a created tag, may be interleaved); a list is a pre-order List … ListEnd run. When several values were written, the last complete one is the result.

Enums§

DecodeError
Why no result could be decoded from an output buffer.

Functions§

decode_result
The script’s result value from its output buffer data.
output_region
The script’s output buffer within linear memory: exactly size bytes from start, so the decoder never reads what a script wrote past its capacity.