Function pair_to_code_point

Source
pub const fn pair_to_code_point(high: u32, low: u32) -> u32
Expand description

Converts UTF-16 surrogate pair to Unicode code point. https://tc39.es/ecma262/#sec-utf16decodesurrogatepair

ยงPanics

Panics if high is not in the range 0xD800..=0xDBFF or low is not in the range 0xDC00..=0xDFFF.