def read(self, nbytes):
    buf = self._buffer
    if self._saught:
      assert buf
      missing_bytes = nbytes - len(buf)
      if missing_bytes < 0:
        chunk = buf[:nbytes]
        self._buffer = buf[nbytes:]
      else:
        chunk = buf
        if missing_bytes:
          chunk += self._reader.read(missing_bytes)
        self._buffer = None
        self._saught = False
    else:
      self._buffer = None
      chunk = self._reader.read(nbytes)
      if nbytes == self._size:
        self._buffer = chunk
    return chunk
@param wsdl: A wsdl object.
dataset/ETHPy150Open mtth/hdfs/hdfs/ext/avro/__init__.py/_SeekableReader.read--crossover with--dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/xsd/schema.py/SchemaCollection.__init__