Article View: borland.public.jbuilder.java.api
Article #554Re: bitconverter
From: Kevin Dean
Date: Thu, 05 Jun 2003 19:35
Date: Thu, 05 Jun 2003 19:35
26 lines
2036 bytes
2036 bytes
In short, you can't. Java doesn't deal with big-endian and little-endian issues because it guarantees that the external representation of all integer types is portable across JVM's. Similarly, it doesn't give you direct access to pointer address or array bases. What exactly are you trying to do? -- Check out our latest white papers at http://www.datadevelopment.com/papers/index.html BladeNET Scores With Borland Enterprise Tools Team Development with JBuilder and Borland Enterprise Server Dolphin Data Development Ltd. http://www.datadevelopment.com/ "Roy Blinng" <royb45108@hotmail.com> wrote in message news:3edf86be@newsgroups.borland.com... > hi, > which java package should import to use bitconverting routines? > how can i also convert byte[] to double? double to byte[]? > if i read a blob data from database and convert that byte[] to double, > will there be a bigendian or little endian problem? how can i solve this? > thanks, > >
Technical Details
Message-ID:
<3edf9b87$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3edf86be@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,43739daf8911228a X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-06-05 12:40:07 PST From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com> Newsgroups: borland.public.jbuilder.java.api References: <3edf86be@newsgroups.borland.com> Subject: Re: bitconverter Date: Thu, 5 Jun 2003 15:35:19 -0400 Lines: 28 Organization: Dolphin Data Development Ltd. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.57.150.243 Message-ID: <3edf9b87$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1054841735 24.57.150.243 (5 Jun 2003 12:35:35 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail