public interface AlphabetMapper
Modifier and Type | Method and Description |
---|---|
char[] |
convertToChars(byte[] input)
Return a char[] for this alphabet based on the indexes passed.
|
byte[] |
convertToIndexes(char[] input)
Return the passed in char[] as a byte array of indexes (indexes
can be more than 1 byte)
|
int |
getRadix()
Return the number of characters in the alphabet.
|
int getRadix()
byte[] convertToIndexes(char[] input)
input
- characters to be mapped.char[] convertToChars(byte[] input)
input
- input array of indexes.