(v: u32)
| 1 | use wit_bindgen_core::abi; |
| 2 | |
| 3 | fn hexdigit(v: u32) -> char { |
| 4 | if v < 10 { |
| 5 | char::from_u32(('0' as u32) + v).unwrap() |
| 6 | } else { |
| 7 | char::from_u32(('A' as u32) - 10 + v).unwrap() |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | /// encode symbol as alphanumeric by hex-encoding special characters |
| 12 | pub fn make_external_component(input: &str) -> String { |
no outgoing calls
no test coverage detected