[ 
https://issues.apache.org/jira/browse/COMPRESS-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary D. Gregory resolved COMPRESS-697.
--------------------------------------
    Fix Version/s: 1.28.0
         Assignee: Gary D. Gregory
       Resolution: Fixed

[~frkj]

Thank you for your work here.

I merged the PR. Please verify your use case against git master and/or a 
snapshot build from 
[https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-compress/1.28.0-SNAPSHOT/]

> 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
>            Assignee: Gary D. Gregory
>            Priority: Major
>             Fix For: 1.28.0
>
>
> 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