Re: Breaking integers into bytes in PL/SQL?

From: <rtproffitt_at_my-deja.com>
Date: 1999/11/18
Message-ID: <811a22$vaj$1_at_nnrp1.deja.com>#1/1


Of course, one approach could be to follow the binhex model and convert desired data into alphanumeric hex text representations of the individual bytes.

I am curious why one desires to send machine dependent format. I once had to deal with such a case downloading binary integers from HP3000 to IBM PC. The executable had to completely rearrange the four bytes backward (so called HIBYTE/LOBYTE) to preserve the data. Once this was worked out, the system was stable and never changed, and then it worked well.... but nevertheless it was non-trival trying to get the thing all worked out and troubleshot....Perhaps a more machine independent solution would have been a few minutes slower, but much easier to develop and manage...???? Comments???

Good Luck
Robert Proffitt

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Nov 18 1999 - 00:00:00 CET

Original text of this message