[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for Long Tooth...




Hello all,

I'm new to AJUG, and fairly new to the Atlanta area, (actually
Columbus), and I've been lurking on the list for the past couple of
months.  This topic strikes me as highly relavant to what I'm doing
right now.

I have a binary formatted file consisting of unsigned binary data types,
(bytes through longs) with mixed big endian and little endian fields. 
Does anybody have any suggestions for handeling such a beast?


Thanks
Rob Rutherford



On Wed, 2003-04-09 at 09:31, Scott P. Smith wrote:

> * Non-Java Binary File I/O - When working with binary files that were
> created in C, C++, etc. you will see a lot of use of things like unsigned
> 16, and 32 bit values. Since Java doesn't support these, you have to use
> bitwise operators to put the uint16 into a Java int32. And vise versa.
>