示例#1
0
 @Override
 public void writeObject(Marshaller output, Object object) throws IOException {
   output.write(id);
   // Write as an unsigned, variable length, integer to safe space
   UnsignedNumeric.writeUnsignedInt(output, foreignId);
   externalizer.writeObject(output, object);
 }
示例#2
0
 @Override
 public void writeObject(Marshaller output, Object object) throws IOException {
   output.write(id);
   externalizer.writeObject(output, object);
 }
示例#3
0
 @Override
 public void writeClass(final Marshaller marshaller, final Class<?> clazz) throws IOException {
   marshaller.write(bytes);
 }