AlbLib.Imaging.ImageBase.Assemble C# (CSharp) Метод

Assemble() публичный статический Метод

public static Assemble ( byte arr, int width, int height ) : ].byte[
arr byte
width int
height int
Результат ].byte[
        public static byte[,] Assemble(byte[] arr, int width, int height)
        {
            byte[,] result = new byte[width,height];
            for(int y = 0; y < width; y++)
            for(int x = 0; x < height; x++)
            {
                result[x,y] = arr[y*width+x];
            }
            return result;
        }