Fredrik Kjellberg created COMPRESS-697:
------------------------------------------

             Summary: Move BitStream.nextBit() method to BitInputStream
                 Key: COMPRESS-697
                 URL: https://issues.apache.org/jira/browse/COMPRESS-697
             Project: Commons Compress
          Issue Type: Improvement
            Reporter: Fredrik Kjellberg


I'm using BitInputStream for Huffman decoding and having a method for reading a 
single bit would simplify the code somewhat. There is a method nextBit used for 
Huffman decoding already in the subclass BitStream used by the Zip 
implementation. This class is not available in the public API of 
commons-compress so I cannot use it. I think it makes sense to move the nextBit 
method to BitInputStream and make it available in the public API.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to