PyUnicodeUCS2_DecodeUTF16Stateful

version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
extern (C)
PyUnicodeUCS2_DecodeUTF16Stateful
(
const(char)* string
,,
const(char)* errors
,,)

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