private ByteBuffer bufferObject(final Object obj) throws IOException {
  return ByteBuffer.wrap(SerializerUtil.serialize(obj));
}

private ByteBuffer bufferObject ( final Object obj ) throws IOException { return ByteBuffer . wrap ( SerializerUtil . serialize ( obj ) ) ; }
utility to return a bytebuffer containing the external version of the object .
