(str)
| 254 | })(); |
| 255 | |
| 256 | function encodeWtf16LE(str) { |
| 257 | // String iterator coalesces surrogate pairs. |
| 258 | let out = []; |
| 259 | for (let i = 0; i < str.length; i++) { |
| 260 | codeunit = str.charCodeAt(i); |
| 261 | out.push(codeunit & 0xff) |
| 262 | out.push(codeunit >> 8); |
| 263 | } |
| 264 | return out; |
| 265 | } |
| 266 | |
| 267 | function makeWtf16TestDataSegment() { |
| 268 | let data = [] |
no test coverage detected