*/
@Test
public void readArray_random() throws Exception {
byte[] bytes = "ABC|D|EF".getBytes(Charset.forName("ASCII"));
InputBuffer buffer = new InputBuffer();
buffer.reset(bytes, bytes.length);
Random random = new Random(12345);
for (int i = 0; i < 100000; i++) {
int[] bounds = new int[5];
for (int j = 0; j < bounds.length; j++) {
bounds[j] = random.nextInt(bytes.length + 1);