pub trait EofData {
// Required methods
fn data(&self) -> &[u8] ⓘ;
fn data_slice(&self, offset: usize, len: usize) -> &[u8] ⓘ;
fn data_size(&self) -> usize;
}
pub trait EofData {
// Required methods
fn data(&self) -> &[u8] ⓘ;
fn data_slice(&self, offset: usize, len: usize) -> &[u8] ⓘ;
fn data_size(&self) -> usize;
}