PyUnicodeUCS2_DecodeUTF16Stateful

  1. PyObject* PyUnicodeUCS2_DecodeUTF16Stateful(const(char)* string, Py_ssize_t length, const(char)* errors, int* byteorder, Py_ssize_t* consumed)
    version(Python_Unicode_UCS2)
    PyUnicodeUCS2_DecodeUTF16Stateful
    (
    const(char)* string
    ,,
    const(char)* errors
    ,,
    )
  2. alias PyUnicode_DecodeUTF16Stateful = PyUnicodeUCS2_DecodeUTF16Stateful

Parameters

string
Type: const(char)*

UTF-16 encoded string

length

size of string

errors
Type: const(char)*

error handling

byteorder
Type: int*

pointer to byteorder to use 0=native;-1=LE,1=BE; updated on exit

consumed
Type: Py_ssize_t*

bytes consumed

Meta