JBBPFieldArrayUByte extends AbstractFieldByteArray<JBBPFieldUByte> { @Override public int size() { return this.array.length; } JBBPFieldArrayUByte(final JBBPNamedFieldInfo name, final byte[] array); byte[] getArray(); @Override int size(); @Override JBBPFieldUByte getElementAt(final int index); @Override int getAsInt(final int index); @Override Object getValueArrayAsObject(final boolean reverseBits); @Override String getTypeAsString();  }
@Test public void testSize() { assertEquals(5, test.size()); }