pub fn modq_decode(d: &[u8], h: &mut [u16]) -> Option<usize>Expand description
Decode integers modulo 12289 from bytes, with 14 bits per value.
Decode some bytes into integers modulo q = 12289. Exactly as many
bytes as necessary are read from the source d to fill all values in
the destination slice h. The number of elements in h MUST be a
multiple of 4. The total number of read bytes is returned. If the
source is too short, of if any of the decoded values is invalid (i.e.
not in the [0,q-1] range), then this function returns None.