(data, errors="strict", final=0)
| 460 | |
| 461 | |
| 462 | def utf_16_be_decode(data, errors="strict", final=0): |
| 463 | res, consumed, byteorder = PyUnicode_DecodeUTF16Stateful( |
| 464 | data, len(data), errors, "big", final |
| 465 | ) |
| 466 | res = "".join(res) |
| 467 | return res, consumed |
| 468 | |
| 469 | |
| 470 | def STORECHAR32(ch, byteorder): |
nothing calls this directly
no test coverage detected