[][src]Function metro::to_vec

pub fn to_vec(events: &[Event]) -> Result<Vec<u8>, Error>

Write &[Event] to Vec<u8>. Defines a default track with track_id of 0.

See also Metro::to_vec.

See also to_string and to_writer.