mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
JBIG2 - bitmap decoding
This commit is contained in:
@ -138,6 +138,9 @@ public:
|
||||
/// Reads signed 32-bit integer from the stream
|
||||
int32_t readSignedInt();
|
||||
|
||||
/// Reads signed 8-bit integer from the stream
|
||||
int8_t readSignedByte();
|
||||
|
||||
/// Reads unsigned 32-bit integer from the stream
|
||||
uint32_t readUnsignedInt() { return read(32); }
|
||||
|
||||
@ -147,6 +150,9 @@ public:
|
||||
/// Reads unsigned 8-bit integer from the stream
|
||||
uint8_t readUnsignedByte() { return read(8); }
|
||||
|
||||
/// Return underlying byte stream
|
||||
const QByteArray* getStream() const { return m_stream; }
|
||||
|
||||
private:
|
||||
const QByteArray* m_stream;
|
||||
int m_position;
|
||||
|
Reference in New Issue
Block a user