pub const fn decode_buffer_size(value_length: usize) -> Option<usize>Expand description
Get the length of the data inside an encrypted buffer of the given length.
This is the length of the output buffer passed to decode_cookie_advanced.
This will always be smaller than the length of the encoded data.
Note that the encrypted value includes a constant amount of non-message data and will therefore have a minimum length. If the length passed to this function is too small to contain the required constant data, this function will return None.