The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Converting a text string to hex numvers

Posted by Parikshit Kadam on January 08, 2001 at 3:25 AM

I need to open a intel hex file and convert the text to the array of hex numbers.
e.g. -

file will look like this -

:05000000743E2494226F
:00000001FF

":05000000743E2494226F" This string is to be converted as an array of hex numbers [:,05,00,00,00,74,3E,24,94,22,6F].

Please help

Regards
Parikshit





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us