Avro.Test.RandomDataHelper.GetBytes C# (CSharp) Méthode

GetBytes() public static méthode

public static GetBytes ( int length ) : byte[]
length int
Résultat 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[]