gix_features::decode

Function leb64_from_read

Source
pub fn leb64_from_read(r: impl Read) -> Result<(u64, usize), Error>
Expand description

Decode variable int numbers from a Read implementation.

Note: currently overflow checks are only done in debug mode.