pub fn encode_simple_view_bytes(table: &[(u32, u32, u32, u32, u8)]) -> Vec<u8> ⓘExpand description
Encode a FULL table into the simple 8-byte stride layout the
__casefold_lookup helper expects (one input cp -> one output cp).
Multi-codepoint entries (out_len > 1) emit the FIRST output slot
only — caller-side logic is expected to detect this case via a
parallel out_len check, or to use the full 20-byte encoder when
the trailing codepoints matter.
Used by the wasm-AOT locale-aware bodies to share the existing
__casefold_lookup helper while still consulting the Turkish
override entries (which today happen to all be 1:1 mappings).