Add todo comment.
This commit is contained in:
parent
0f2c937895
commit
323df1c34a
1 changed files with 1 additions and 0 deletions
|
@ -525,6 +525,7 @@ proc getBit(state: var DecoderState): int =
|
||||||
|
|
||||||
proc getBitsAsSignedInt(state: var DecoderState, n: int): int =
|
proc getBitsAsSignedInt(state: var DecoderState, n: int): int =
|
||||||
## Get n number of bits as a signed integer.
|
## Get n number of bits as a signed integer.
|
||||||
|
# TODO: Investigate why 15 not 16?
|
||||||
if n notin 0 .. 15:
|
if n notin 0 .. 15:
|
||||||
failInvalid()
|
failInvalid()
|
||||||
if state.bitsBuffered < n:
|
if state.bitsBuffered < n:
|
||||||
|
|
Loading…
Reference in a new issue