PropertyEntryFixedLength
Overview
PropertyEntryFixedLength is a class in Aspose.Email FOSS for Python.
Fixed-length property stream entry containing property tag, flags, and inline 8-byte value payload.
This class provides 3 methods for working with PropertyEntryFixedLength objects in Python programs.
Available methods include: is_mandatory, is_readable, is_writable.
All public members are accessible to any Python application after installing the Aspose.Email FOSS for Python package.
Properties: flags, property_tag, value.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
property_tag | int | Read | Gets the property tag. |
flags | int | Read | Gets the flags. |
value | bytes | Read | Gets the value. |
Methods
| Signature | Description |
|---|---|
is_mandatory() → bool | Returns true if mandatory is set. |
is_readable() → bool | Returns true if readable is set. |
is_writable() → bool | Returns true if writable is set. |
Examples
from aspose.email_foss.msg import MsgReader
with MsgReader.from_file("message.msg") as reader:
for entry in reader.iter_top_level_fixed_length_properties():
print(f"tag=0x{entry.property_tag:08X} flags=0x{entry.flags:08X} value={entry.value.hex()}")
print(f" readable={entry.is_readable()} writable={entry.is_writable()}")