MCPcopy Create free account
hub / github.com/bit4woo/ReSign / byteToArrayString

Method byteToArrayString

src/custom/CMD5.java:18–27  ·  view source on GitHub ↗
(byte bByte)

Source from the content-addressed store, hash-verified

16
17 // ������ʽΪ���ָ��ַ���
18 private static String byteToArrayString(byte bByte) {
19 int iRet = bByte;
20 // System.out.println("iRet="+iRet);
21 if (iRet < 0) {
22 iRet += 256;
23 }
24 int iD1 = iRet / 16;
25 int iD2 = iRet % 16;
26 return strDigits[iD1] + strDigits[iD2];
27 }
28
29 // ������ʽֻΪ����
30 private static String byteToNum(byte bByte) {

Callers 1

byteToStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected