SourceMax.SimpleFlake/FlakeGenerator.cs
/// <summary>
/// Generates a random set of bytes.
/// </summary>
/// <param name="count">The number of bytes to randomly generate.</param>
/// <returns>An array of randomized bytes of the given length.</returns>
Generates a random set of bytes.
Generates a random set of bytes .
protected virtual byte[] GetRandomBytes(int count) {
            var randomBytes = new byte[count];
            RandomNumberGenerator.Create().GetBytes(randomBytes);
            return randomBytes;
        }
protected virtual byte [ ] GetRandomBytes ( int count ) { var randomBytes = new byte [ count ] ; RandomNumberGenerator . Create ( ) . GetBytes ( randomBytes ) ; return randomBytes ; }
Generates a random set of bytes.
Generates a random set of bytes .
An array of randomized bytes of the given length.
An array of randomized bytes of the given length .
count
int
The number of bytes to randomly generate.
The number of bytes to randomly generate .