コード例 #1
0
 public Buffer objectToBuffer(Object obj) throws Exception {
   byte[] buf = marshaller.objectToByteBuffer(obj);
   return new Buffer(buf, 0, buf.length);
 }
コード例 #2
0
 public byte[] objectToByteBuffer(Object obj) throws Exception {
   return marshaller.objectToByteBuffer(obj);
 }