public enum Base16Lower extends Enum<Base16Lower>
Modifier and Type | Method and 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.
|
static Base16Lower |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Base16Lower[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Base16Lower[] values()
for (Base16Lower c : Base16Lower.values()) System.out.println(c);
public static Base16Lower valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String encodeAsString(byte... bytes)
public static byte[] encode(byte[] bytes)
public static byte[] decode(String b16)
public static byte[] decode(byte[] b16)
Copyright © 2024. All rights reserved.