code: public static byte[] save(Object o) {
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          save(o, baos);
          return baos.toByteArray();
      }
docs: Serializes the object to a {@code byte} array.
  
  @param o the object to be stored in the file