MQDecoder
개요
MQDecoder은 Aspose.PDF FOSS에서 Python용 클래스입니다.
부록 C의 MQ 산술 디코더.
이 클래스는 Python 프로그램에서 MQDecoder 객체를 위한 4개의 메서드를 선언합니다. 사용 가능한 메서드에는 __init__, decode, reset_states, restart가 포함됩니다. Aspose.PDF FOSS for Python 패키지를 설치한 후 모든 Python 애플리케이션에서 public 멤버에 접근할 수 있습니다. 속성: states.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
states | list[list[int]] | 읽기 | 상태를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
__init__(data: bytes, contexts: int) | Calls init(data, contexts) 이 MQDecoder 인스턴스에서. |
reset_states() | 모든 컨텍스트를 Table D.7의 초기 상태로 반환합니다. |
restart(position: int) | (재)초기화 디코더를 position (INITDEC). |
decode(context: int) → int | 한 비트를 디코드합니다 context. |