[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: Implementing Little Endian and Big Endian encoding
Re: [cp-patches] FYI: Implementing Little Endian and Big Endian encodings.
Tue, 31 May 2005 09:09:44 +0200
mutt-ng 1.5.9-r292i (Debian)
On Tue, May 31, 2005 at 08:38:38AM +0200, Meskauskas Audrius wrote:
> Following the OMG specification, CORBA must support
> both Big and Little Endian encodings (I did not find any notes about
> this in Java API - proably silence is the sign of agreement). The
> CORBA messages contain the flags, indicating, which encoding
> is currently used.
> Great thanks to Warren Levy, Aaron M. Renn and Tom Tromey,
> authors of our DataInput/Output streams. Reusing the
> code from there saved me a lot of work.
> I have got to pack the patch as it is larger than the limit of the list.
> 2005-05-31 Audrius Meskauskas <address@hidden>
> * gnu/CORBA/CDR/BigEndianInputStream.java,
> gnu/CORBA/CDR/abstractDataOutputStream.java: New streams.
> * gnu/CORBA/IOR.java: Implemented parsing of the Little Endian
> encoded IOR references. * gnu/CORBA/Functional_ORB.java,
> gnu/CORBA/GIOP/MessageHeader.java: Implemented support for
> both Big and Little Endian.
java.nio gives handling of little-, big- and mixed-endianess for free.
Perhaps you wanna look into using this. This will probably increase performance
of the CORBA code too.
Escape the Java Trap with GNU Classpath!
Join the community at http://planet.classpath.org/