Détection / BitReader
Vue de l’ensemble
‘decode_BitReader’ est une classe dans Aspose.Font FOSS pour Python.
Cette classe fournit 9 méthodes pour travailler avec des objets de décode_BitReader dans les programmes Python. Les méthodologies disponibles comprennent: BotliMask, SmithBillWindow', RinBiteReaders , 'RineBites et ‘BrotliReadInputAmount’ , LinMoreInputs ; ‘LineWarmupBithReadeer; 'ShiftBytes32. Tous les membres publics sont accessibles à toute application Pythone après l’installation du package d’Aspouse.Font FOSS pour Pyathon.
méthodes
| Signature | Description |
|---|---|
__init__() | Calls init on this decode_BitReader instance. |
BitMask(n) | ` returns a bitmask covering the lowest n bits of an integer |
ShiftBytes32(br) | Shifts the reader’s 32‑bit buffer by whole bytes |
BrotliReadMoreInput(br) | Loads additional input data into the bit reader when the buffer is empty |
BrotliReadInputAmount(br, num) | Reads exactly num bytes from the source into the reader |
BrotliFillBitWindow(br) | Refills the internal bit window with bits from the input stream |
BrotliInitBitReader(br, input, finish) | Creates and configures a bit reader for Brotli decoding |
BrotliWarmupBitReader(br) | Performs initial warm‑up to prime the bit window before decoding starts |
BrotliReadBits(br, n_bits) | ` reads the next n_bits from a Brotli bit‑reader and returns them as an integer |
Voir aussi
- Aspose.Font — référence API d’entreprise