get_output_bytes


get_output_bytes(s)
      

Return the bytes written to the byte array output stream s as an u8array.

Examples:


let b = byte_array_writer()
write_byte(123, b)
write_byte(105, b)
get_output_bytes(b)
// #u8[123, 105]
      

Also see:

get_output_string


Core Module Index | Contents