def __init__(self, joiner=None, external_data_length: ResultExistence=None): self._init_param__joiner = joiner self._init_param__external_data_length = external_data_length self._joiner = none_or(joiner, b'') self._data = deque() self._data_length = 0 self._real_size = 0 self._external_data_length = external_data_length or ResultExistence(False, 0)
def __init__(self, joiner=None, on_hold_limit=None): self._init_param__joiner = joiner self._init_param__on_hold_limit = on_hold_limit self._joiner = none_or(joiner, b'') self._data = list() self._data_length = 0 self._offset_limit = on_hold_limit or 1000 self._useful_size = 0 self._real_size = 0
def __init__(self, joiner=None, external_data_length: ResultExistence = None): self._init_param__joiner = joiner self._init_param__external_data_length = external_data_length self._joiner = none_or(joiner, b'') self._data = deque() self._data_length = 0 self._real_size = 0 self._external_data_length = external_data_length or ResultExistence( False, 0)