public final class ByteArrayHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
fromBase64String(java.lang.String base64)
Decodes a base64 encoded string to a byte array.
|
static java.lang.String |
toHexString(byte[] bytes)
Converts the provided byte array to a hexadecimal string
|
public static java.lang.String toHexString(byte[] bytes)
Adapted from http://stackoverflow.com/a/21429909/466862 by higginse
bytes
- byte array (not null
public static byte[] fromBase64String(java.lang.String base64)
base64
- Base64 encoded dataCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.