Lines Matching refs:byteorder
529 …PyObject* PyUnicode_DecodeUTF32(const char *s, Py_ssize_t size, const char *errors, int *byteorder)
535 If *byteorder* is non-*NULL*, the decoder starts decoding using the given byte
538 *byteorder == -1: little endian
539 *byteorder == 0: native order
540 *byteorder == 1: big endian
542 If ``*byteorder`` is zero, and the first four bytes of the input data are a
544 not copied into the resulting Unicode string. If ``*byteorder`` is ``-1`` or
547 After completion, *\*byteorder* is set to the current byte order at the end
552 If *byteorder* is *NULL*, the codec starts in native order mode.
559 …eUTF32Stateful(const char *s, Py_ssize_t size, const char *errors, int *byteorder, Py_ssize_t *con…
570 …ect* PyUnicode_EncodeUTF32(const Py_UNICODE *s, Py_ssize_t size, const char *errors, int byteorder)
575 byteorder == -1: little endian
576 byteorder == 0: native byte order (writes a BOM mark)
577 byteorder == 1: big endian
579 If byteorder is ``0``, the output string will always start with the Unicode BOM
605 …PyObject* PyUnicode_DecodeUTF16(const char *s, Py_ssize_t size, const char *errors, int *byteorder)
611 If *byteorder* is non-*NULL*, the decoder starts decoding using the given byte
614 *byteorder == -1: little endian
615 *byteorder == 0: native order
616 *byteorder == 1: big endian
618 If ``*byteorder`` is zero, and the first two bytes of the input data are a
620 not copied into the resulting Unicode string. If ``*byteorder`` is ``-1`` or
624 After completion, *\*byteorder* is set to the current byte order at the end
627 If *byteorder* is *NULL*, the codec starts in native order mode.
636 …eUTF16Stateful(const char *s, Py_ssize_t size, const char *errors, int *byteorder, Py_ssize_t *con…
652 …ect* PyUnicode_EncodeUTF16(const Py_UNICODE *s, Py_ssize_t size, const char *errors, int byteorder)
657 byteorder == -1: little endian
658 byteorder == 0: native byte order (writes a BOM mark)
659 byteorder == 1: big endian
661 If byteorder is ``0``, the output string will always start with the Unicode BOM