Struct m3u::Reader [] [src]

pub struct Reader<R, E> where
    R: BufRead
{ /* fields omitted */ }

A reader that reads the M3U format from the underlying reader.

A Reader is a streaming reader. It reads data from the underlying reader on demand and reads no more than strictly necessary.

The inner reader R must be some buffered reader as the "#EXTM3U" header, "#EXTINF:" tags and entries are each read from a single line of plain text.

A Reader will only attempt to read entries of type E.

Methods

impl<R, E> Reader<R, E> where
    R: BufRead
[src]

Produce the inner reader.