A64L(3C) DOMAIN/IX Reference Manual (SYS5) A64L(3C)
NAME
a64l, l64a - convert between long integer and base-64 ASCII
string
USAGE
long a64l (s)
char *s;
char *l64a (l)
long l;
DESCRIPTION
These functions maintain numbers stored in base-64 ASCII
characters. Long integers can be represented by up to six
characters; each character represents one ``digit'' in a
radix-64 notation.
The characters used to represent ``digits'' are . for 0, /
for 1, 0 through 9 for 2-11, A through Z for 12-37, and a
through z for 38-63.
A64l takes a pointer to a null-terminated base-64 represen-
tation and returns a corresponding long value. If the
string that s points to contains more than six characters,
a64l will interpret the first six only.
L64a takes a long argument and returns a pointer to the
corresponding base-64 representation. If the argument is
zero, l64a returns a pointer to a null string.
NOTES
The value returned by l64a is a pointer into a static
buffer, the contents of which are overwritten by each call.
Printed 5/10/85 A64L-1