类 ByteUtil
java.lang.Object
cn.vonce.sql.uitls.ByteUtil
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]concat(byte[] buf1, byte[] buf2) Join two byte arrays to a new byte array.static byte[]concat(byte[] buf1, byte[] buf2, byte[] buf3) Join three byte arrays to a new byte array.static bytestatic byte[]static booleanstatic booleanstatic StringtoHex(byte b) Convert byte to hex string (all lower-case).static StringtoHexString(byte[] b) Convert bytes to hex string (all lower-case).
-
构造器详细资料
-
ByteUtil
public ByteUtil()
-
-
方法详细资料
-
concat
public static byte[] concat(byte[] buf1, byte[] buf2) Join two byte arrays to a new byte array. -
concat
public static byte[] concat(byte[] buf1, byte[] buf2, byte[] buf3) Join three byte arrays to a new byte array. -
toHexString
Convert bytes to hex string (all lower-case).- 参数:
b- Input bytes.- 返回:
- Hex string.
-
toHex
Convert byte to hex string (all lower-case).- 参数:
b- Input bytes.- 返回:
- Hex string.
-
fromHex
-
fromHexString
-
isSha1
-
isSha256
-