Advance into the _decoded_chars buffer.
(self, n=None)
| 2289 | self._decoded_chars_used = 0 |
| 2290 | |
| 2291 | def _get_decoded_chars(self, n=None): |
| 2292 | """Advance into the _decoded_chars buffer.""" |
| 2293 | offset = self._decoded_chars_used |
| 2294 | if n is None: |
| 2295 | chars = self._decoded_chars[offset:] |
| 2296 | else: |
| 2297 | chars = self._decoded_chars[offset:offset + n] |
| 2298 | self._decoded_chars_used += len(chars) |
| 2299 | return chars |
| 2300 | |
| 2301 | def _get_locale_encoding(self): |
| 2302 | try: |