java里以16进制形式打印字节

System.out.print( Integer.toHexString(b & 0xff));

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.