Ocronet.Dynamic.StdInput.alloc_ C# (CSharp) Method

alloc_() private method

allocate the elements of the array
private alloc_ ( int h, int w ) : void
h int
w int
return void
        private void alloc_(int h, int w)
        {
            total = h * w;
            data = new byte[total];
            dims[0] = h;
            dims[1] = w;
        }