Struct x264_framing::Data [] [src]

pub struct Data<'a> { /* fields omitted */ }

The result of encoding. Exciting stuff, isn't it?

Methods

impl<'a> Data<'a>
[src]

Nothing to see here.

The number of units in this data sequence.

The ith unit.

Panics

Panics if i is out-of-bounds. In order to be not-out-of-bounds, also known as in-bounds, i must be less than len.

The entire chunk of data, as one big byte-slice.

It has none of the elegance of processing each unit separately, but hey, it works. More importantly, it's a lot simpler, and if you're not using any of the fancy priority stuff, it won't even make a difference.