IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

part_decoded_string Property

This property holds the actual content of each part.

Syntax

def get_part_decoded_string(part_idx: int) -> bytes: ...
def set_part_decoded_string(part_idx: int, value: bytes) -> None: ...

Default Value

""

Remarks

This property holds the actual content of each part. The class decodes the actual part of message to part_decoded_string when part_decoded_string's value is first queried.

Setting a value to part_decoded_string fills out the corresponding part_size with the string size if the corresponding part_decoded_file is empty.

The class checks during encoding first part_decoded_file: if it is empty then the class uses the value of part_decoded_string.

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.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]