EntryExtWriter

Type Alias EntryExtWriter 

Source
pub type EntryExtWriter<W> = Writer<W, EntryExt>;
Expand description

A Writer that specifically writes EntryExts.

Aliased Type§

pub struct EntryExtWriter<W> { /* private fields */ }

Implementations§

Source§

impl<W> EntryExtWriter<W>
where W: Write,

Source

pub fn new_ext(writer: W) -> Result<Self, Error>

Create a writer that writes extended M3U EntryExts.

The #EXTM3U header line is written immediately.

Source

pub fn write_entry(&mut self, entry_ext: &EntryExt) -> Result<(), Error>

Attempt to write the given EntryExt to the given writer.

First writes the #EXTINF: line, then writes the entry line.