[6290] 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 (Todd E. Gee)
Thu Mar 28 16:06:16 1996

Date:         Wed, 20 Mar 1996 10:49:01 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: "Todd E. Gee" <tgee@EECS.UMICH.EDU>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

> 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...

-----
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).

-----
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