bigloo.foreign.make_string C# (CSharp) Method

make_string() public static method

public static make_string ( int n, int init ) : byte[]
n int
init int
return byte[]
        public static byte[] make_string( int  n, int  init )
        {
            byte[] r= new byte[ n ];
            byte _in= (byte)init;

            for ( int i= 0 ; i < n ; ++i )
               r[i]= _in;

            return r;
        }
foreign