Returns a copy of the contents of stream stream_index, and whether it could be read. The caller frees the bytes.
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