Dieser Commit ist enthalten in:
Ursprung
2dcddd9cc2
Commit
4706c1525c
@ -63,7 +63,7 @@ public class NodeDownload {
|
|||||||
public static String base16encode(byte[] byteArray) {
|
public static String base16encode(byte[] byteArray) {
|
||||||
StringBuilder hexBuffer = new StringBuilder(byteArray.length * 2);
|
StringBuilder hexBuffer = new StringBuilder(byteArray.length * 2);
|
||||||
for (byte b : byteArray)
|
for (byte b : byteArray)
|
||||||
hexBuffer.append(HEX[b >>> 4]).append(HEX[b & 0xF]);
|
hexBuffer.append(HEX[(b >>> 4) & 0xF]).append(HEX[b & 0xF]);
|
||||||
return hexBuffer.toString();
|
return hexBuffer.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren