PsTokenizer

PsTokenizer

خلاصه ای

PsTokenizer در این مطلب به عنوان یک کلاس برای Python می پردازیم.

توکن کردن بایت های PostScript/EPS به زبان توکین ها.

این کلاس 8 روش برای کار با PsTokenizer اشیاء در برنامه های Python را فراهم می کند. روش های موجود شامل: __init__, next_token, read_asciihex_decoded, read_asciihex_source, read_raw, read_remaining, read_until_ascii85_eod, read_until_asciihex_eod. همه اعضای عمومی پس از نصب Aspose.Page FOSS برای بسته Python به هر برنامه Python دسترسی دارند.

روش ها

امضاتوصیف
__init__(data: bytes)
next_token() → `PsTokenNone`
read_asciihex_decoded(max_bytes: int)tuple[bytes, bool]
read_asciihex_source(max_decoded_bytes: int)bytes
read_until_asciihex_eod()bytes
read_until_ascii85_eod()bytes
read_raw(count: int)bytes
read_remaining()bytes

همچنین ببینید:

 فارسی