pub unsafe fn rdrand_slice<T: RdRand>(buffer: &mut [T]) -> bool
Expand description

Fill a slice with random values.

Returns true if the iterator was successfully filled with random values, otherwise false.

Safety

Will crash if RDRAND instructions are not supported.