idna::punycode

Function adapt

Source
fn adapt(delta: u32, num_points: u32, first_time: bool) -> u32