ArithmeticDecoder
Overview
ArithmeticDecoder เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java.
การแก้ไขคํานวณไบนารีสําหรับ JBIG2 (MQ-coder).
หมวดนี้ให้ 7 วิธีในการทํางานกับวัตถุ ArithmeticDecoder ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: ArithmeticDecoder, decode, decodeIAID, decodeInteger, getBytePointer, resetAllContexts, resetContext. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: bytePointer.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
bytePointer | int | Read | กลับตําแหน่งไบต์ปัจจุบันในกระแสข้อมูล. |
Methods
| Signature | Description |
|---|---|
ArithmeticDecoder(data: byte[], offset: int, numContexts: int) | สร้างและเริ่มต้นการออกแบบคํานวณใหม่. |
decode(cx: int) → int | การแยกคําตอบแบบไบนารีหนึ่งการใช้บริเวณที่กําหนดไว้. |
decodeIAID(cxIAID: int, symCodeLen: int) → int | การถอดค่าตัวเต็ม โดยใช้วิธีการ IAID (Integer Arithmetic Integer Decoder) ที่ระบุใน §A.3. |
decodeInteger(cxIA: int) → int | การแยกเลขตัวเต็มโดยใช้วิธีการแก้ไขจํานวนเต็ม (§A.2). |
resetContext(cx: int) | ยกตั้งตัวการใช้งานเป็นสภาพตามปกติ (I=0, MPS=0). |
resetAllContexts() | เปลี่ยนสถานะทั้งหมดเป็นภาวะตั้งค่าเดิม. |
getBytePointer() → int | กลับตําแหน่งไบต์ปัจจุบันในกระแสข้อมูล. |