Avro.Test.RandomDataHelper.GetBytes C# (CSharp) 메소드

GetBytes() 공개 정적인 메소드

public static GetBytes ( int length ) : byte[]
length int
리턴 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[]