(CH, byteorder)
| 1301 | |
| 1302 | |
| 1303 | def STORECHAR(CH, byteorder): |
| 1304 | hi = (CH >> 8) & 0xFF |
| 1305 | lo = CH & 0xFF |
| 1306 | if byteorder == "little": |
| 1307 | return [lo, hi] |
| 1308 | else: |
| 1309 | return [hi, lo] |
| 1310 | |
| 1311 | |
| 1312 | def PyUnicode_EncodeUTF16(s, size, errors, byteorder="little"): |
no outgoing calls
no test coverage detected