[][src]Function gridiron::digits::util::unsafe_convert_bytes_to_limbs_mut

pub fn unsafe_convert_bytes_to_limbs_mut(
    src: &[u8],
    limbs: &mut [u32],
    len: usize
)

Convert the src into the limbs. This does not mod off the value. This will take the first len bytes and split them into 31 bit limbs. Note that this will not check anything about the length of limbs and could be unsafe... BE CAREFUL!

If your limbs cannot hold the src content when it's converted this will reference the limbs slice out of bounds. If the src slice is shorter than len this will also reference the src slice out of bounds.

For more safe versions of this, check the convert_bytes_to_limbs in ff31::$classname.