@Override
 public Character deserialize(Character reuse, DataInputView source) throws IOException {
   return Character.valueOf(source.readChar());
 }
 @Override
 public void copy(DataInputView source, DataOutputView target) throws IOException {
   target.writeChar(source.readChar());
 }
示例#3
0
 @Override
 public void read(DataInputView in) throws IOException {
   this.value = in.readChar();
 }