code: public static String serializeToBase64(Serializable object)  {
          Objects.requireNonNull(object, Required.OBJECT.toString());
          
          byte[] serialize = SerializationUtils.serialize(object);
          return base64Encoder.encodeToString(serialize);
      }
docs: Serializes an object into an Base64 encoded data string
  
  @param object The object to serialize
  @return The base64 encoded data string