Lines Matching full:decode
105 encoding is the name of the encoding used to decode or encode the
1376 def decode(self, input, final=False):
1377 # decode input (with the eventual \r from a previous pass)
1381 output = self.decoder.decode(input, final=final)
1652 Read and decode the next chunk of data from the BufferedReader.
1672 # Read a chunk, decode it, and put the result in self._decoded_chars.
1675 self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
1741 chars_decoded += len(decoder.decode(next_byte))
1752 chars_decoded += len(decoder.decode(b'', final=True))
1828 self._decoder.decode(input_chunk, need_eof))
1861 decoder.decode(self.buffer.read(), final=True))
2000 return self.buffer.getvalue().decode(self._encoding, self._errors)