Function rsmpeg::ffi::av_base64_encode[][src]

pub unsafe extern "C" fn av_base64_encode(
    out: *mut i8,
    out_size: i32,
    in_: *const u8,
    in_size: i32
) -> *mut i8
Expand description

Encode data to base64 and null-terminate.

@param out buffer for encoded data @param out_size size in bytes of the out buffer (including the null terminator), must be at least AV_BASE64_SIZE(in_size) @param in input buffer containing the data to encode @param in_size size in bytes of the in buffer @return out or NULL in case of error