public enum Base16Lower extends Enum<Base16Lower>
| 限定符和类型 | 方法和说明 |
|---|---|
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)
返回带有指定名称的该类型的枚举常量。
|
static Base16Lower[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static Base16Lower[] values()
for (Base16Lower c : Base16Lower.values()) System.out.println(c);
public static Base16Lower valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public 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.