🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #556

Re: bitconverter

#556
From: Kevin Dean
Date: Thu, 05 Jun 2003 21:55
30 lines
2126 bytes
If you're reading a blob from a database, it will be restored in the byte
array in the order in which it was stored in the database; there is no
conversion of any form.  As for parsing out doubles etc. from it, I'm afraid
I can't think of any way for doing that.

-- 
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:3edfa0df@newsgroups.borland.com...
> I will read a blob data from my database to a variable byte[].
> then i will convert that byte[] to double.
>
> >because it guarantees that the external representation
> >of all integer
> Does this blob data contain the information about which significant byte
is
> stored first? if not, it wouldnt be a good solution for converting byte[]
to
> double.
> Regards,
>
>
Technical Details
Message-ID: <3edfbd47$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3edf86be@newsgroups.borland.com> <3edf9b87$1@newsgroups.borland.com> <3edfa0df@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 15:04:04 PST
From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3edf86be@newsgroups.borland.com> <3edf9b87$1@newsgroups.borland.com> <3edfa0df@newsgroups.borland.com>
Subject: Re: bitconverter
Date: Thu, 5 Jun 2003 17:55:39 -0400
Lines: 32
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: <3edfbd47$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054850375 24.57.150.243 (5 Jun 2003 14:59:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail