Advance into the _decoded_chars buffer.
(self, n=None)
| 2313 | self._decoded_chars_used = 0 |
| 2314 | |
| 2315 | def _get_decoded_chars(self, n=None): |
| 2316 | """Advance into the _decoded_chars buffer.""" |
| 2317 | offset = self._decoded_chars_used |
| 2318 | if n is None: |
| 2319 | chars = self._decoded_chars[offset:] |
| 2320 | else: |
| 2321 | chars = self._decoded_chars[offset:offset + n] |
| 2322 | self._decoded_chars_used += len(chars) |
| 2323 | return chars |
| 2324 | |
| 2325 | def _get_locale_encoding(self): |
| 2326 | try: |