PACK32_MAX

Constant PACK32_MAX 

Source
pub const PACK32_MAX: u32 = 0x0010_FFFF;
Expand description

Maximum integer value supported by pack32 (0x0010_FFFF, 1,114,111).

Despite pack32 accepting a u32, encoding uses single WTF-8 codepoints, which are bounded by the Unicode codespace limit 0x10FFFF. Values greater than this will fail to encode.