<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; 16进制</title>
	<atom:link href="http://blog.minidx.com/tag/16%e8%bf%9b%e5%88%b6/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java的16进制与字符串的相互转换函数</title>
		<link>http://blog.minidx.com/2008/02/27/514.html</link>
		<comments>http://blog.minidx.com/2008/02/27/514.html#comments</comments>
		<pubDate>Wed, 27 Feb 2008 15:08:18 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[程序开发相关]]></category>
		<category><![CDATA[16进制]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[函数]]></category>
		<category><![CDATA[字符串]]></category>
		<category><![CDATA[字符分割]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/02/27/514.html</guid>
		<description><![CDATA[因为要用到16进制与字符串的转换，于是有了下面几个函数，内容很简单，稍作修改放到自己的Class里面应该就可以用了。当然也可以单独做一个util的类，进行调用。








/**
&#160; * 将指定byte数组以16进制的形式打印到控制台
&#160; * @param hint String
&#160; * @param b byte[]
&#160; * @return void
&#160; */
public&#160;static void printHexString(String hint, byte[] b) {
&#160;&#160; System.out.print(hint);
&#160;&#160; for&#160;(int i = 0; i &#60; b.length; i++) {
&#160; &#160;&#160; String&#160;hex = Integer.toHexString(b[i] &#38; 0xFF);
&#160; &#160;&#160; if&#160;(hex.length() == 1) {
&#160; &#160; &#160;&#160; hex = '0' + hex;
&#160; &#160;&#160; }
&#160; &#160;&#160; System.out.print(hex.toUpperCase() + &#34;&#160;&#34;);
&#160;&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/02/27/514.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk
Object Caching 163/359 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:14:57 -->
