f
This commit is contained in:
parent
07d16c7c87
commit
297ddc6c60
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ proc huffmanDecode(state: var DecoderState, tableCurrent, table: int): uint8 =
|
|||
return huffman.symbols[symbolId]
|
||||
|
||||
template lrot(value: uint32, shift: int): uint32 =
|
||||
## Left rotate - used for huffman decoding.
|
||||
## Left rotate
|
||||
(value shl shift) or (value shr (32 - shift))
|
||||
|
||||
proc getBit(state: var DecoderState): int =
|
||||
|
|
Loading…
Reference in a new issue