C5.C5Random.NextBytes C# (CSharp) Method

NextBytes() public method

Fill a array of byte with random bytes
public NextBytes ( byte buffer ) : void
buffer byte The array to fill
return void
        public override void NextBytes(byte[] buffer)
        {
            for (int i = 0, length = buffer.Length; i < length; i++)
            {
                buffer[i] = (byte)Cmwc();
            }
        }