Struct minimp3::Decoder[][src]

pub struct Decoder<R> where
    R: Read
{ /* fields omitted */ }

A MP3 decoder which consumes a reader and produces Frames.

Methods

impl<R> Decoder<R> where
    R: Read
[src]

Creates a new decoder, consuming the reader.

Reads a new frame from the internal reader. Returns a Frame if one was found, or, otherwise, an Err explaining why not.

Trait Implementations

impl<R> Send for Decoder<R> where
    R: Read
[src]

Auto Trait Implementations

impl<R> !Sync for Decoder<R>