CCITT fax decoder - second part

This commit is contained in:
Jakub Melka
2019-10-12 18:10:25 +02:00
parent ec5785d52a
commit e20dfe6a5c
5 changed files with 358 additions and 4 deletions

View File

@ -107,6 +107,11 @@ public:
/// then exception is thrown.
Value read(Value bits);
/// Reads single n-bit value from the stream. If stream hasn't enough data,
/// then exception is thrown. State of the stream is not changed, i.e., read
/// bits are reverted back.
Value look(Value bits) const;
/// Seeks the desired position in the data stream. If position can't be seeked,
/// then exception is thrown.
void seek(qint64 position);