Type Alias webm_iterable::WebmIterator

source ·
pub 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 MatroskaSpec variants containing 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.

Aliased Type§

struct WebmIterator<R> { /* private fields */ }