av_format/buffer/
mod.rs

1mod accreader;
2
3pub use self::accreader::AccReader;
4
5use std::io::{BufRead, Seek};
6
7/// Used to interact with a buffer.
8pub trait Buffered: BufRead + Seek + Send + Sync {
9    /// Returns the data contained in a buffer as a sequence of bytes.
10    fn data(&self) -> &[u8];
11    /// Increases the size of a buffer.
12    fn grow(&mut self, len: usize);
13}