def __init__(
      self, resolver_context, encryption_method=None, file_object=None):
    if file_object is not None and encryption_method is None:
      raise ValueError(
          u'File-like object provided without corresponding encryption method.')

    super(EncryptedStream, self).__init__(resolver_context)
    self._current_offset = 0
    self._decrypted_data = b''
    self._decrypted_data_offset = 0
    self._decrypted_data_size = 0
    self._decrypted_stream_size = None
    self._decrypter = None
    self._encrypted_data = b''
    self._encryption_method = encryption_method
    self._file_object = file_object
    self._path_spec = None
    self._realign_offset = True

    if file_object:
      self._file_object_set_in_init = True
    else:
      self._file_object_set_in_init = False
SETTINGS_INITIAL_WINDOW_SIZE only allows values between 0 and 2**32 - 1
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/file_io/encrypted_stream_io.py/EncryptedStream.__init__--crossover with--dataset/ETHPy150Open python-hyper/hyper-h2/test/test_settings.py/TestSettings.test_cannot_set_invalid_vals_for_initial_window_size