public void readDataInput(DataInput in) throws IOException { super.readDataInput(in); submit_node_id = in.readInt(); submit_time_stamp = in.readInt(); submit_sequence_id = in.readInt(); report_type = in.readByte(); user_number = readFixedString(in, 21); state = in.readByte(); error_code = in.readByte(); reserve = readFixedString(in, 8); }
protected void writeDataOutput(DataOutput out) throws IOException { super.writeDataOutput(out); out.writeInt(submit_node_id); out.writeInt(submit_time_stamp); out.writeInt(submit_sequence_id); out.writeByte(report_type); writeFixedString(out, user_number, 21); out.writeByte(state); out.writeByte(error_code); writeFixedString(out, reserve, 8); }