Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Convert byte array to integers

800455Feb 5 2010 — edited Feb 11 2010
Hi All,
How do I convert bytes back into integers. For eg, if I have this byte array
	private static final byte [] mybytes = {
			(byte) 0x63, 
			(byte) 0x35, 
			(byte) 0x97 };
How can I retreive the whole value , not the converted value so I can get back

633557 as an integer or maybe a String
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 11 2010
Added on Feb 5 2010
12 comments
759 views