Trait binary_sv2::SizeHint [−][src]
pub trait SizeHint {
fn size_hint(data: &[u8], offset: usize) -> Result<usize, Error>;
fn size_hint_(&self, data: &[u8], offset: usize) -> Result<usize, Error>;
}Expand description
Return the encoded byte size od a Decodable