MQDecoder
MQDecoder
ภาพรวม
MQDecoder เป็นคลาสใน Aspose.PDF FOSS สำหรับ Python.
ตัวถอดรหัสเชิงเลขคณิต MQ ของภาคผนวก C.
คลาสนี้ประกาศ 4 เมธอดสำหรับอ็อบเจกต์ MQDecoder ในโปรแกรม Python. เมธอดที่มีให้รวมถึง: __init__, decode, reset_states, restart. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน Python ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.PDF FOSS สำหรับ Python. คุณสมบัติ: states.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
states | list[list[int]] | อ่าน | ดึงสถานะ. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
__init__(data: bytes, contexts: int) | Calls init(data, contexts) บนอินสแตนซ์ MQDecoder นี้. |
reset_states() | คืนค่าแต่ละคอนเท็กซ์กลับสู่สถานะเริ่มต้นของตาราง D.7. |
restart(position: int) | (Re)initialise ตัวถอดรหัสที่ position (INITDEC). |
decode(context: int) → int | ถอดรหัสบิตหนึ่งใน context. |