PyUnicode_DecodeUTF16Stateful

  1. PyObject* PyUnicode_DecodeUTF16Stateful(const(char)* string, Py_ssize_t length, const(char)* errors, int* byteorder, Py_ssize_t* consumed)
    version(Python_3_3_Or_Later)
    extern (C)
    PyUnicode_DecodeUTF16Stateful
    (
    const(char)* string
    ,,
    const(char)* errors
    ,,)
  2. alias PyUnicode_DecodeUTF16Stateful = PyUnicodeUCS2_DecodeUTF16Stateful
  3. alias PyUnicode_DecodeUTF16Stateful = PyUnicodeUCS4_DecodeUTF16Stateful

Parameters

string const(char)*

UTF-16 encoded string

length Py_ssize_t

size of string

errors const(char)*

error handling

byteorder int*

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

consumed Py_ssize_t*

bytes consumed

Meta