예제 #1
0
 public int writeObject(BigtableData o) {
   int size = o.toByteArray().length;
   try {
     out.write(size);
     out.write(o.toByteArray());
   } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
     return 0;
   }
   return size;
 }