ArithmeticDecoder
Vue de l’ensemble
‘ArithmeticDecoder’ est une classe dans Aspose.PDF FOSS pour Java.
Décoder d’arithmétique binaire adaptif pour JBIG2 (MQ-coder).
Cette classe fournit 7 méthodes pour travailler avec les objets ArithmeticDecoder dans les programmes Java. Les méthodologies disponibles comprennent: ‘Arithmétic Decoder’, ‘decode’ , ‘décodeIAID’, decadeInteger', ‘getBytePointer', ''resetAllContexts, ‘resettContaxt’. Tous les membres publics sont accessibles à toute application Java après avoir installé l’Aspose.PDF FOSS pour le package Java . Propriété : ‘bytePoInter’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
bytePointer | int | Read | Returns the current byte position in the data stream. |
méthodes
| Signature | Description |
|---|---|
ArithmeticDecoder(data: byte[], offset: int, numContexts: int) | Creates and initializes a new arithmetic decoder. |
decode(cx: int) → int | Decodes one binary decision using the specified context. |
decodeIAID(cxIAID: int, symCodeLen: int) → int | Decodes an integer value using the IAID (Integer Arithmetic Integer Decoder) |
| procedure specified in §A.3. | |
decodeInteger(cxIA: int) → int | Decodes an integer using the Integer Arithmetic Decoding procedure (§A.2). |
resetContext(cx: int) | Resets a context to its default state (I=0, MPS=0). |
resetAllContexts() | Resets all contexts to their default state. |
getBytePointer() → int | Returns the current byte position in the data stream. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise