Debug_Info module

get_stream_data

procedureSource

Returns a copy of the contents of stream stream_index, and whether it could be read. The caller frees the bytes.

Example↗
msf: Msf;
data, ok := get_stream_data(msf, 1);
assert(!ok);
get_stream_data :: (msf: Msf, stream_index: UNSN) -> ([] u8, success: bool)

Parameters

msf: Msf
stream_index: UNSN

Returns

[] u8
success: bool

See also