DoxigAlpha

decodedLenUpperBound

Returns the maximum possible decoded size for a given input length after skipping ignored characters.

Function parameters

Parameters

#
hex_len:usize

(best-effort) constant time hexadecimal encoding and decoding.

Types

#
hex
(best-effort) constant time hexadecimal encoding and decoding.
base64
(best-effort) constant time base64 encoding and decoding.

Error sets in this namespace

Error Sets

#

Source

Implementation

#
pub fn decodedLenUpperBound(hex_len: usize) usize {
    return hex_len / 2;
}