Go to the source code of this file.
Returns the index of the Nth character in the input text.
Used in encoder.
- Parameters
-
[in] | N | position of the character in the input text. |
- Returns
- The index number of the input character.
Definition at line 38 of file alpha.h.
Returns the index of the Nth character in the input text.
Used in decoder.
- Parameters
-
[in] | N | position of the character in the input text. |
- Returns
- The index number of the input character.
Definition at line 47 of file alpha.h.
void buildAlpha |
( |
Uchar * |
text, |
|
|
const Uint |
textlen |
|
) |
| |
Reads input text and initializes alphabet variables.
Definition at line 21 of file alpha.c.
Uint alphaindex[UCHAR_MAX+1] |
Index of each alphabet character.
Definition at line 31 of file alpha.h.
Alphabet size.
Definition at line 25 of file alpha.h.
Uchar characters[UCHAR_MAX+1] |
Characters in text in alphabetical order.
Definition at line 28 of file alpha.h.