Function proquint::from_quint
[−]
[src]
pub fn from_quint<T>(quint: &str) -> (T, usize) where
T: Sized + Default + ShlAssign<isize> + AddAssign<T> + From<u8>,
Generic function for converting a proquint string to the given type.
Returns the decoded type as well as the number of bits decoded. A full proquint is 16 bits, so a valid proquint will be a multiple of this size.