Class Base16Lower
- java.lang.Object
-
- software.amazon.awssdk.utils.internal.Base16Lower
-
public final class Base16Lower extends Object
A Base 16 codec API, which encodes into hex string in lower case. See http://www.ietf.org/rfc/rfc4648.txt- Author:
- Hanson Char
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decode(byte[] b16)
Decodes the given base 16 encoded bytes.static byte[]
decode(String b16)
Decodes the given base 16 encoded string, skipping carriage returns, line feeds and spaces as needed.static byte[]
encode(byte[] bytes)
Returns a base 16 encoded byte array of the given bytes.static String
encodeAsString(byte... bytes)
Returns a base 16 encoded string (in lower case) of the given bytes.
-
-
-
Method Detail
-
encodeAsString
public static String encodeAsString(byte... bytes)
Returns a base 16 encoded string (in lower case) of the given bytes.
-
encode
public static byte[] encode(byte[] bytes)
Returns a base 16 encoded byte array of the given bytes.
-
decode
public static byte[] decode(String b16)
Decodes the given base 16 encoded string, skipping carriage returns, line feeds and spaces as needed.
-
decode
public static byte[] decode(byte[] b16)
Decodes the given base 16 encoded bytes.
-
-