pub fn unit(buf: &[u8], pos: usize, stop: usize) -> Result<usize>Expand description
From pos (just after a US, RS or a key’s US), find the end of one
unit’s value: the next control code at this depth other than the ones
that belong to the value (STX…ETX, DLE…CAN, ENQ, BEL note). Layout at
the edges is included in the returned range.