/**
*
*/
public byte[] getPacketBody() {
final XSerializer s = new XSerializer(64);
s.writeInt(this.packetMarker, 1);
s.writeUnsignedLong(this.affectedRows);
s.writeUnsignedLong(this.insertId);
s.writeInt(this.serverStatus, 2);
s.writeInt(this.warningCount, 2);
if(this.message != null) s.writeFixedLengthString(this.message);
return s.toByteArray();
}