commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damjan Jovanovic <dam...@apache.org>
Subject Re: [compress] BitInputStream
Date Thu, 13 Nov 2014 07:14:32 GMT
On Wed, Nov 12, 2014 at 9:49 PM, Stefan Bodewig <bodewig@apache.org> wrote:
> Apart from EOF handling there also is the byte-order case.
>
> As it stands I'll get different bits in LITTLE_ENDIAN order if I read
> eight bits twice or sixteen bits at once, this is now what I'd expect.
> Should byte order imply we are always reading bytes in chunks of a given
> number?
>
> Right now I don't dare touching it as the LZW code is only using the
> LITTLE_ENDIAN branches and I'd need to read up on its expectations
> first.

My yet uncommitted patches to commons-imaging also use BIG_ENDIAN.

Damjan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message