public class ByteUtils extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
byte2hex(byte b)
byte to hex conversion.
|
static java.lang.String |
bytes2hex(byte[] bytes)
byte[] array to hex conversion.
|
static int |
hexToBin(char c)
Converts a single hex character into its integer equivalent.
|
static byte[] |
parseHexBinary(java.lang.String hex)
Parses a hexadecimal string into its corresponding bytes.
|
public static java.lang.String bytes2hex(byte[] bytes)
public static java.lang.String byte2hex(byte b)
public static byte[] parseHexBinary(java.lang.String hex)
public static int hexToBin(char c)
Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.