| // Boolean
0x01, 0x01, 0x00,
// Integer
0x02, 0x01, 0x09 };
assertTrue("Encoded: ", Arrays.equals(encoded, sequenceOf.encode(list)));
List values = (List) sequenceOf.decode(encoded);
assertEquals("Size: ", 2, values.size());
assertEquals("First: ", Boolean.FALSE, values.get(0));
|