code: def read(self, amt=None):
          
          chunk = self._raw_stream.read(amt)
          self._amount_read += len(chunk)
          return chunk
docs: Read at most amt bytes from the stream.
          If the amt argument is omitted, read all data.