aboutsummaryrefslogtreecommitdiff
path: root/src/rawblock.nim
diff options
context:
space:
mode:
authorpacien2018-11-25 22:34:31 +0100
committerpacien2018-11-25 22:46:42 +0100
commitd353e8312b59818cdae5771549c92c1dc6427c71 (patch)
tree78d997e3a107810eccd946020fc30bfd11dfb665 /src/rawblock.nim
parent8328b00bbe8660d9265de10daf3c840001260ef4 (diff)
downloadgziplike-d353e8312b59818cdae5771549c92c1dc6427c71.tar.gz
fix bit sequence read at end of stream
Diffstat (limited to 'src/rawblock.nim')
-rw-r--r--src/rawblock.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rawblock.nim b/src/rawblock.nim
index 0a44550..4a83b1d 100644
--- a/src/rawblock.nim
+++ b/src/rawblock.nim
@@ -16,7 +16,7 @@
16 16
17import integers, bitreader, bitwriter 17import integers, bitreader, bitwriter
18 18
19const maxDataBitLength = high(uint16).int - 1 19const maxDataBitLength = high(uint16).int
20const bitLengthFieldBitLength = 2 * wordBitLength 20const bitLengthFieldBitLength = 2 * wordBitLength
21 21
22type RawBlock* = object 22type RawBlock* = object