[6347] in java-interest

home help back first fref pref prev next nref lref last post

Re: 8 bit unsigned data type

daemon@ATHENA.MIT.EDU (Mike Paluka)
Fri Mar 29 17:06:16 1996

Date:         Mon, 25 Mar 1996 09:20:17 -0800
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Mike Paluka <mikep@EXMACHINA.COM>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

At 10:49 AM 3/20/96 -0500, you wrote:
>> Hi,
>>   I'm writing an encryptation algorithm on java.
>>   I must use a 8 bit unsigned integer data type.
>>   The byte data type on java is signed.
>>   Anyone have any idea?
>>
>>   Thanx in advance.
>
>You could spoof it using the lower 8 bits of an integer...
>

What about the 16-bit "short" data type?


--
 *************************
Michael J. Paluka
Senior Software Engineer
Ex Machina, Inc.
mikep@exmachina.com

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post