public class ByteKit extends Object
ByteKit class.
| 构造器和说明 |
|---|
ByteKit() |
public static String bytesToHex(byte[] bytes)
bytesToHex.
bytes - an array of byte objects.String object.public static String byte2str(byte[] buf)
byte2str.
buf - an array of byte objects.String object.public static byte[] str2byte(String str)
str2byte.
str - a String object.byte objects.public static byte[] hexStringToByte(String hex)
hexStringToByte.
hex - a String object.byte objects.Copyright © 2023. All rights reserved.