Avro.Test.RandomDataHelper.GetBytes C# (CSharp) Method

GetBytes() public static method

public static GetBytes ( int length ) : byte[]
length int
return byte[]
        public static byte[] GetBytes(int length)
        {
            byte[] buffer = new byte[length];
            random.NextBytes(buffer);
            return buffer;
        }

Same methods

RandomDataHelper::GetBytes ( int min, int max ) : byte[]