PsTokenizer
개요
PsTokenizer은 Aspose.Page FOSS의 Python용 클래스입니다.
PostScript/EPS 바이트를 언어 토큰으로 토큰화합니다.
이 클래스는 Python 프로그램에서 PsTokenizer 객체를 다루기 위한 8개의 메서드를 제공합니다. 사용 가능한 메서드에는 __init__, next_token, read_asciihex_decoded, read_asciihex_source, read_raw, read_remaining, read_until_ascii85_eod, read_until_asciihex_eod가 포함됩니다. Aspose.Page FOSS for Python 패키지를 설치하면 모든 공개 멤버를 Python 애플리케이션에서 사용할 수 있습니다.
메서드
| 시그니처 | 설명 |
|---|---|
__init__(data: bytes) | |
next_token() → `PsToken | None` |
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 |