Type Definition webm_iterable::WebmIterator[][src]

type WebmIterator<R> = TagIterator<R, MatroskaSpec>;
Expand description

Alias for ebml_iterable::TagIterator using MatroskaSpec as the generic type.

This implements Rust’s standard Iterator trait. The struct can be created with the new function on any source that implements the std::io::Read trait. The iterator outputs SpecTag objects containing the type of Matroska tag and the tag data. See the ebml-iterable docs for more information if needed.

Note: The with_capacity method can be used to construct a WebmIterator with a specified default buffer size. This is only useful as a microoptimization to memory management if you know the maximum tag size of the file you’re reading.