[][src]Function devolutions_crypto::ffi::Decode

#[no_mangle]
pub unsafe extern "C" fn Decode(
    input: *const u8,
    input_length: usize,
    output: *mut u8,
    output_length: usize
) -> i64

Decode a base64 string to bytes.

Arguments

  • input - Pointer to the string to decode.
  • input_length - Length of the string to decode.
  • output - Pointer to the output buffer.
  • output_length - Length of the output buffer.

Returns

Returns the size of the decoded string.