pub fn write_std<'a, T, E, W>(header: &Header, tracks: T, out: W) -> Result<()>where
T: IntoIterator<Item = E>,
T::IntoIter: ExactSizeIterator + Clone + Send,
E: IntoIterator<Item = &'a TrackEvent<'a>>,
E::IntoIter: Clone + Send,
W: Write,
Expand description
Similar to write
, but writes to a std::io::Write
writer instead of a
midly::io::Write
writer.
This function is only available with the std
feature enabled.