@Override public void encode() { if (allowChildEncode) { buffer = ByteBuffer.allocate(3); ; rgb.write(buffer); } super.encode(); }
@Override public void parse() { super.parse(); if (!allowChildParse) { return; } rgb = new RGB(buffer, null); rgb.read(); }