(input: &str)
| 11 | } |
| 12 | |
| 13 | pub(crate) fn utf16_encode(input: &str) -> Vec<u8> { |
| 14 | input |
| 15 | .encode_utf16() |
| 16 | .flat_map(|c| c.to_le_bytes().into_iter()) |
| 17 | .collect() |
| 18 | } |
| 19 | |
| 20 | pub(crate) fn debug_print_log(name: &str, log: &[Vec<u8>]) { |
| 21 | debug!("{name} event log:"); |
no test coverage detected