code: public static Writable encodeBase64Url(Byte[] data, boolean pad) {
          return encodeBase64Url(DefaultTypeTransformation.convertToByteArray(data), pad);
      }
docs: Produce a Writable object which writes the Base64 URL and Filename Safe encoding of the byte array.
  Calling toString() on the result returns the encoding as a String. For more
  information on Base64 URL and Filename Safe encoding see <code>RFC 4648 - Section 5
  Base 64 Encoding with URL and Filename Safe Alphabet</code>.
  
  @param data Byte array to be encoded
  @param pad whether or not the encoded data should be padded
  @return object which will write the Base64 URL and Filename Safe encoding of the byte array
  @since 2.5.0