Struct flv_codec::FileDecoder[][src]

pub struct FileDecoder { /* fields omitted */ }

FLV file decoder.

See the specification about the format of FLV file.

Methods

impl FileDecoder
[src]

Makes a new FileDecoder instance.

Returns the header of the FLV file.

If the header has not been decoded yet, it will return None.

Trait Implementations

impl Debug for FileDecoder
[src]

Formats the value using the given formatter. Read more

impl Default for FileDecoder
[src]

Returns the "default value" for a type. Read more

impl Decode for FileDecoder
[src]

The type of items to be decoded.

Consumes the given buffer (a part of a byte sequence), and proceeds the decoding process. Read more

Finishes the current decoding process and returns the decoded item. Read more

Returns true if there are no items to be decoded by the decoder at the next invocation of decode method, otherwise false. Read more

Returns the lower bound of the number of bytes needed to decode the next item. Read more

Auto Trait Implementations

impl Send for FileDecoder

impl Sync for FileDecoder