public void write(Encoder enc) {
   enc.writeUint16(packing_flags);
   if ((packing_flags & 256) != 0) enc.writeUint16(this.status.getValue());
 }
 public void write(Encoder enc) {
   enc.writeUint16(packing_flags);
   if ((packing_flags & 256) != 0) enc.writeUint32(this.timeout);
 }