code: @SneakyThrows
      public static void serialize(final Serializable object, final OutputStream outputStream) {
          try (val out = new ObjectOutputStream(outputStream)) {
              out.writeObject(object);
          }
      }
docs: Serialize an object.
  
  @param object       The object to be serialized
  @param outputStream The stream to receive the object
  @since 5.0.0