/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
private static void appendHextet(StringBuilder sb, byte[] src, int i) { StringUtil.toHexString(sb, src, i << 1, 2); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src) { return toHexString(src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value and appends it to the specified buffer. */ public static <T extends Appendable> T toHexString(T dst, byte[] src) { return toHexString(dst, src, 0, src.length); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }
/** * Converts the specified byte array into a hexadecimal value. */ public static String toHexString(byte[] src, int offset, int length) { return toHexString(new StringBuilder(length << 1), src, offset, length).toString(); }