Get a range of bytes from the input data.
start and end are the start and end index of the range.
start
end
Such as: start = 0, end = 2, then the result is 0, 1.
0, 1
List<int> getRange(int start, int end);