Class Base16Lower
java.lang.Object
software.amazon.awssdk.utils.internal.Base16Lower
A Base 16 codec API, which encodes into hex string in lower case.
See http://www.ietf.org/rfc/rfc4648.txt
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
decode
(byte[] b16) Decodes the given base 16 encoded bytes.static byte[]
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 Details
-
encodeAsString
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
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.
-