pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()>
Return the decoded value and how many bytes it consumed.