SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_after_extract_file Event

Marks the completion of extraction of an archived file.

Syntax

class ArchiveReaderAfterExtractFileEventParams(object):
  @property
  def path() -> str: ...
  @property
  def file_size() -> int: ...
  @property
  def data_source() -> int: ...

# In class ArchiveReader:
@property
def on_after_extract_file() -> Callable[[ArchiveReaderAfterExtractFileEventParams], None]: ...
@on_after_extract_file.setter
def on_after_extract_file(event_hook: Callable[[ArchiveReaderAfterExtractFileEventParams], None]) -> None: ...

Remarks

Subscribe to this event to get notified about the completion of extraction of an archived file.

The Path parameter specifies the internal path to the entry inside the archive. The FileSize indicates the size of the decompressed file, and the DataSource specifies the type of the destination media.

fdsFile (0)The data was saved to a file.
fdsStream (1)The data was saved into a stream assigned to file_stream property.
fdsBuffer (2)The file data is available in file_data buffer.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Python Edition - Version 20.0 [Build 8166]