Skip to main content

output_region

Function output_region 

Source
pub fn output_region(
    memory: &[u8],
    start: usize,
    size: usize,
) -> Result<&[u8], DecodeError>
Expand description

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.