<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Need help"]]></title>
		<link>http://forums.hotjoe.com/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic "Need help"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Need help</title>
				<description><![CDATA[ I have String stringName = "1010005100";<br /> How do i conver that string to byte array, Unsigned Integer ( size 8 ).<br /> The resul should be  "0x00, 0x00, 0x00, 0x00, 0x3c, 0x33, 0x74, 0x6c"]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/781/2921.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/781/2921.page</link>
				<pubDate><![CDATA[Fri, 3 Sep 2010 07:58:34]]> GMT</pubDate>
				<author><![CDATA[ newToJava]]></author>
			</item>
			<item>
				<title>Re:Need help</title>
				<description><![CDATA[ You can convert it to a Hex string with something like:<br /> <br /> [code]String stringName = "1010005100";<br /> long longValue = Long.parseLong( stringName );<br /> System.out.printf( "string in hex is %1$016x\n",  longValue );[/code]<br /> <br /> If you then want to print out all of the individual Hex values you'd need to use a Formatter:<br /> <br /> [code]import java.util.Locale;<br /> import java.util.Formatter;<br /> <br /> ...<br /> StringBuilder sb = new StringBuilder();<br /> Formatter formatter = new Formatter( sb, Locale.US );<br /> formatter.format( "%1$016x", longValue );<br /> <br /> System.out.println( "now it is " + sb.toString()  ); [/code]<br /> <br /> and pull two characters at a time out of the string.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/781/2922.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/781/2922.page</link>
				<pubDate><![CDATA[Fri, 3 Sep 2010 09:38:12]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
	</channel>
</rss>
