Accord.ThreadSafeRandom.NextBytes C# (CSharp) Method

NextBytes() public method

Fills the elements of a specified array of bytes with random numbers.
See Random.NextBytes(byte[]) for more information.
public NextBytes ( byte buffer ) : void
buffer byte An array of bytes to contain random numbers.
return void
        public override void NextBytes(byte[] buffer)
        {
            lock (sync)
                base.NextBytes(buffer);
        }