Function simple_parse::writeall_at_offset[][src]

pub fn writeall_at_offset<T, V, W: ?Sized>(
    this: &T,
    offset: &V,
    ctx: &mut SpCtx,
    dst: &mut W
) -> Result<usize, SpError> where
    V: Copy + Into<u64>,
    T: SpWrite,
    W: Write

Writes null bytes into the writer until offset is reached then calls T.to_writer() with count set to Some(usize::MAX)