Skip to main content

b64a_decoded_len

Function b64a_decoded_len 

pub const fn b64a_decoded_len(encoded_len: usize) -> usize
Expand description

Compute the decoded length for a valid B64A string length.

For invalid lengths where encoded_len % 4 == 1, this returns the floor length; callers that decode reject that length first.