java 代码转C#代码

来信大神,帮忙帮下面的JAVA代码转成c#代码

 

private static final String HEX_CHARS = "0123456789abcdef";

public static String toHexString(byte[] b) {
StringBuffer sb = new StringBuffer();
for (int i = 0; i < b.length; i++) {
sb.append(HexUtil.HEX_CHARS.charAt(b[i] >>> 4 & 0x0F));
sb.append(HexUtil.HEX_CHARS.charAt(b[i] & 0x0F));
}
return sb.toString();
}

慕无忌1623718
浏览 525回答 3
3回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java