From d353e8312b59818cdae5771549c92c1dc6427c71 Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 25 Nov 2018 22:34:31 +0100 Subject: fix bit sequence read at end of stream --- src/rawblock.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rawblock.nim') 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 @@ import integers, bitreader, bitwriter -const maxDataBitLength = high(uint16).int - 1 +const maxDataBitLength = high(uint16).int const bitLengthFieldBitLength = 2 * wordBitLength type RawBlock* = object -- cgit v1.2.3