Skip to main content

advance

Function advance 

fn advance(pos: usize, len: usize, limit: usize) -> Result<usize, PatchError>
Expand description

Advances pos by len and checks that it stays within limit.