IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

part_size Property

This property contains the size of the DecodedFile or DecodedString .

Syntax

def get_part_size(part_idx: int) -> int: ...

Default Value

0

Remarks

This property contains the size of the part_decoded_file or part_decoded_string. If a non empty value is assigned to part_decoded_file, then class fills out the corresponding part_size with the file size or an error occurs if the file doesn't exist.

If the part_decoded_file is empty and a value is assigned to part_decoded_string, then the corresponding part_size will be equal to the string's size.

During decoding, this property is filled with the size of that part.

The part_idx parameter specifies the index of the item in the array. The size of the array is controlled by the part_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8249]