diff options
author | Ladislav Zezula <zezula@volny.cz> | 2023-06-08 20:03:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 20:03:07 +0200 |
commit | ca035eabdd2e641effe0a668c74293e8fb491c3b (patch) | |
tree | 841aa3ff3b706f91469376fb3e1cb62b6a33abd5 /src/huffman/huff.h | |
parent | 28c9b4be3f23c6b3a5ff55cacac7dbe5b9cdc4fc (diff) | |
parent | 06bf40330a8facdb2378a8cd4cf2af8c22bb4b0b (diff) |
Merge pull request #296 from ladislav-zezula/LZ_ReplaceFileTest
Fixed handling of the stream end in Huffmann decompression
Diffstat (limited to 'src/huffman/huff.h')
-rw-r--r-- | src/huffman/huff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/huffman/huff.h b/src/huffman/huff.h index b75acbb..cf1ca4c 100644 --- a/src/huffman/huff.h +++ b/src/huffman/huff.h @@ -29,8 +29,8 @@ class TInputStream TInputStream(void * pvInBuffer, size_t cbInBuffer); unsigned int Get1Bit(); - unsigned int Peek7Bits(); unsigned int Get8Bits(); + bool Peek7Bits(unsigned int & Value); void SkipBits(unsigned int BitCount); unsigned char * pbInBufferEnd; // End position in the the input buffer |