pub fn encoded_len(input: &[u8], set: &EncodeSet) -> usize
The length of input once encoded with set.
input
set
use parse_net::pct::{encoded_len, EncodeSet}; assert_eq!(encoded_len(b"a b", &EncodeSet::empty().add(b' ')), 5);