MCPcopy Index your code
hub / github.com/RustPython/RustPython / utf_16_be_decode

Function utf_16_be_decode

Lib/_pycodecs.py:462–467  ·  view source on GitHub ↗
(data, errors="strict", final=0)

Source from the content-addressed store, hash-verified

460
461
462def 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
470def STORECHAR32(ch, byteorder):

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected