public void deserialize(ByteArray data) { this._ready = data.readBoolean(); this._type = data.readByte(); }