public final class BaseXx extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getBase16(byte[] bytes) |
static String |
getBase32(byte[] bytes) |
static String |
getBase64(byte[] bytes) |
static String |
getBase64UrlWithoutPadding(byte[] bytes) |
static String |
getBase64UrlWithPadding(byte[] bytes) |
static byte[] |
getFromBase16(String base16) |
static byte[] |
getFromBase32(String base32) |
static byte[] |
getFromBase64(String base64Padding) |
static byte[] |
getFromBase64UrlPadding(String base64Padding) |
static byte[] |
getFromBase64UrlWithoutPadding(String base64) |
public static String getBase16(byte[] bytes)
bytes
- to transformIllegalArgumentException
- if argument is not compatiblepublic static String getBase32(byte[] bytes)
bytes
- to transformIllegalArgumentException
- if argument is not compatiblepublic static String getBase64UrlWithoutPadding(byte[] bytes)
bytes
- to transformIllegalArgumentException
- if argument is not compatiblepublic static String getBase64UrlWithPadding(byte[] bytes)
bytes
- to transformIllegalArgumentException
- if argument is not compatiblepublic static String getBase64(byte[] bytes)
bytes
- to transformIllegalArgumentException
- if argument is not compatiblepublic static byte[] getFromBase16(String base16)
base16
- to transformIllegalArgumentException
- if argument is not compatiblepublic static byte[] getFromBase32(String base32)
base32
- to transformIllegalArgumentException
- if argument is not compatiblepublic static byte[] getFromBase64UrlWithoutPadding(String base64)
base64
- to transformIllegalArgumentException
- if argument is not compatiblepublic static byte[] getFromBase64UrlPadding(String base64Padding)
base64Padding
- to transformIllegalArgumentException
- if argument is not compatiblepublic static byte[] getFromBase64(String base64Padding)
base64Padding
- to transformIllegalArgumentException
- if argument is not compatibleCopyright © 2009–2020 Waarp. All rights reserved.