Package org.wildfly.common.codec
Class Base32Alphabet
- java.lang.Object
-
- org.wildfly.common.codec.Alphabet
-
- org.wildfly.common.codec.Base32Alphabet
-
public abstract class Base32Alphabet extends Alphabet
A base-32 alphabet.
-
-
Field Summary
Fields Modifier and Type Field Description static Base32Alphabet
LOWERCASE
The standard RFC 4648 base-32 alphabet mapped to lowercase.static Base32Alphabet
STANDARD
The standard RFC 4648 base-32 alphabet.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Base32Alphabet(boolean littleEndian)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract int
decode(int codePoint)
Decode the given code point.abstract int
encode(int val)
Encode the given 5-bit value to a code point.-
Methods inherited from class org.wildfly.common.codec.Alphabet
isLittleEndian
-
-
-
-
Field Detail
-
STANDARD
public static final Base32Alphabet STANDARD
The standard RFC 4648 base-32 alphabet.
-
LOWERCASE
public static final Base32Alphabet LOWERCASE
The standard RFC 4648 base-32 alphabet mapped to lowercase.
-
-