protected byte Get byte source int size int offset byte result new byt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
protected byte[][] Get(byte[] source, int size, int offset)
{
byte[][] result = new byte[size][];
IEnumerator offsets = (IEnumerator) GenerateOffsets(size, offset);
for (int i = 0; i < size; i++)
{
result[i] = Get(source, (int) offsets.Current);
offsets.MoveNext();
}
return result;
}