예제 #1
0
 @Override
 public void encode() {
   if (allowChildEncode) {
     buffer = ByteBuffer.allocate(3);
     ;
     rgb.write(buffer);
   }
   super.encode();
 }
예제 #2
0
  @Override
  public void parse() {
    super.parse();

    if (!allowChildParse) {
      return;
    }
    rgb = new RGB(buffer, null);
    rgb.read();
  }