[][src]Function stainless_ffmpeg_sys::av_hash_final_bin

pub unsafe extern "C" fn av_hash_final_bin(
    ctx: *mut AVHashContext,
    dst: *mut u8,
    size: c_int
)

Finalize a hash context and store the actual hash value in a buffer.

It is not safe to update or finalize a hash context again, if it has already been finalized.

If size is smaller than the hash size (given by av_hash_get_size()), the hash is truncated; if size is larger, the buffer is padded with 0.

@param[in,out] ctx Hash context @param[out] dst Where the final hash value will be stored @param[in] size Number of bytes to write to dst