How to convert an array into list of arrays of some size in C#?
For example:
byte[] incoming = {1,2,3,4};
List<byte[]> chunks = new List<byte[]>;
What I'm trying to get is something like this, get a chunk of some size, here below I used 2.
chunks[0] = {1,2};
chunks[1] = {3,4};
Thanks in Advance!