pub fn decoded_length(n: usize) -> Result<usize, Error>
Calculates the decoded length.
This function returns Err if n is not even.
Err
n