Function simple_parse::read_at_offset [−][src]
pub fn read_at_offset<T, V, R: ?Sized>(
offset: &V,
src: &mut R,
ctx: &mut SpCtx
) -> Result<T, SpError> where
V: Copy + Into<u64>,
T: SpRead + SpOptHints,
R: Read,
Consumes bytes until the specified offset
is reached then calls T::from_reader