Function olm_sys::olm_group_decrypt_max_plaintext_length[][src]

pub unsafe extern "C" fn olm_group_decrypt_max_plaintext_length(
    session: *mut OlmInboundGroupSession,
    message: *mut u8,
    message_length: usize
) -> usize

Get an upper bound on the number of bytes of plain-text the decrypt method will write for a given input message length. The actual size could be different due to padding.

The input message buffer is destroyed.

Returns olm_error() on failure.