_PyUnicodeUCS4_AsDefaultEncodedString

Return a Python string holding the default encoded value of the Unicode object.

The resulting string is cached in the Unicode object for subsequent usage by this function. The cached version is needed to implement the character buffer interface and will live (at least) as long as the Unicode object itself.

The refcount of the string is *not* incremented.

_*** Exported for internal use by the interpreter only !!! ***

version(!Python_3_3_Or_Later && !Python_Unicode_UCS2)
extern (C)
_PyUnicodeUCS4_AsDefaultEncodedString
(,
const(char)*
)

Meta