UniBasic provides NOCONVERT ON for that.
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rick Nuckolls
Sent: Tuesday, September 03, 2013 1:12 AM
To: U2 Users List
Subject: Re: [U2] Read and Writing binary files
Rick,
It looks like you can do this with Universe UniBasic ReadBlk and we have
working code. I have been unable to find any equivalent in Unidata.
Thanks,
Doug
www.u2logic.com
On Fri, Aug 30, 2013 at 6:15 PM, Rick Nuckolls r...@lynden.com wrote:
Doug,
Looking at my old code, I call a
I am not a UniData user, but thought that I had found the answer with OSBREAD
-- reading a block, then noticed the note about OSBREAD converting a char(0)
to char(128). Ouch.
If you are on on Unix, you might use uuencode to convert it to base64 and then
read that in pass it in a
Doug,
Looking at my old code, I call a subroutine on the backend to do the readblk,
and then use the default reverse conversion on the return argument's UniString.
( byte[] myBinary = myUnistring.toString().getBytes() )..
UOJ, in its wisdom, does not expose the raw byte array that it gets