code: def _decompress_data(self, data):
          '''Decompress the given data and return the uncompressed data.'''
          if self._decompressor:
              try:
                  return self._decompressor.decompress(data)
              except zlib.error as error:
                  raise ProtocolError(
                      'zlib error: {0}.'.format(error)
                  ) from error
          else:
              return datf _decompress_data(self, data):
          '''Decompress the given data and return the uncompressed data.'''
          if self._decompressor:
              try:
                  return self._decompressor.decompress(data)
              except zlib.error as error:
                  raise ProtocolError(
                      'zlib error: {0}.'.format(error)
                  ) from error
          else:
              return data
docs: Decompress the given data and return the uncompressed data.