PyUnicode_Decode

Create a Unicode object by decoding the encoded string s of the given size.

  1. PyObject* PyUnicode_Decode(const(char)* s, Py_ssize_t size, const(char)* encoding, const(char)* errors)
    version(Python_3_3_Or_Later)
    PyUnicode_Decode
    (
    const(char)* s
    ,,
    const(char)* encoding
    ,
    const(char)* errors
    )
  2. alias PyUnicode_Decode = PyUnicodeUCS2_Decode
  3. alias PyUnicode_Decode = PyUnicodeUCS4_Decode

Parameters

s
Type: const(char)*

encoded string

size

size of buffer

encoding
Type: const(char)*

encoding

errors
Type: const(char)*

error handling

Meta