etebase_utils_to_base64 method

int etebase_utils_to_base64(
  1. Pointer<Void> bytes,
  2. int bytes_size,
  3. Pointer<Char> out,
  4. int out_maxlen,
)

Convert a buffer to a Base64 URL encoded string

@param bytes the buffer to convert @param bytes_size the size of the input buffer @paramout out the output string @param out_maxlen the maximum length of string to be written

Implementation

int etebase_utils_to_base64(
  ffi.Pointer<ffi.Void> bytes,
  int bytes_size,
  ffi.Pointer<ffi.Char> out,
  int out_maxlen,
) {
  return _etebase_utils_to_base64(
    bytes,
    bytes_size,
    out,
    out_maxlen,
  );
}