â»2013/01/08注 ãªããæªã ã«åç §ããããããªã®ã§ããã DatatypeConverterã使ã£ã¦ã¿ã¦ã¯ã©ãã§ãããï¼ - ããã¨ãã使ãã®ã§ã public class HexUtil { /** * ãã¤ãé åã16é²æ°ã®æååã«å¤æããã * * @param bytes ãã¤ãé å * @return 16é²æ°ã®æåå */ public static String asHex(byte bytes) { // ãã¤ãé åã®ï¼åã®é·ãã®æååãããã¡ãçæã StringBuffer strbuf = new StringBuffer(bytes.length * 2); // ãã¤ãé åã®è¦ç´ æ°åãå¦çãç¹°ãè¿ãã for (int index = 0; index < bytes.length; index++) { // ãã¤ãå¤ãèªç¶æ°ã«å¤æã int bt =
{{#tags}}- {{label}}
{{/tags}}