Skip to content

Commit 2028b12

Browse files
authored
Fixed decoder::end() for uncompressed scenario
See issue #2
1 parent 365deff commit 2028b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/consteval_huffman/consteval_huffman.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class huffman_compressor
275275
ender.m_data += size_bytes - 1;
276276
ender.m_bit = 1 << (7 - last_bits);
277277
} else {
278-
ender.m_data += raw_data.size() + 1;
278+
ender.m_data += raw_data.size();
279279
}
280280

281281
return ender;

0 commit comments

Comments
 (0)