Example #1
0
 @Override
 public void read(PortableReader reader) throws IOException {
   super.read(reader);
   maxSize = reader.readInt("m");
 }
Example #2
0
 @Override
 public void write(PortableWriter writer) throws IOException {
   super.write(writer);
   writer.writeInt("m", maxSize);
 }