Skip to main content

encode_table_bytes

Function encode_table_bytes 

Source
pub fn encode_table_bytes(table: &[(u32, u32)]) -> Vec<u8> 
Expand description

Encode the case-folding table into the wasm data-section layout. Delegates to super::encode_u32_pair_table — entries encode (input_cp, output_cp) pairs but the byte layout matches the range tables so the runtime helper can share rebase arithmetic.