Function nock::msb
[−]
[src]
pub fn msb(data: &[u8]) -> usize
Return the bit position of the most significant bit.
Interprets the data as a little-endian integer. Assumes that the data has no trailing zeroes.