| atoh |
(String str) |
yoix.string |
| |
Returns a string of hexadecimal digits obtained by translating
each character in
str
to its ASCII hexadecimal equivalent.
str
can be recovered from its hexadecimal representation using
htoa.
| |
| Example: |
The program,
import yoix.stdio.*;
import yoix.string.*;
puts(atoh("Now is the time..."));
puts(htoa(atoh("Now is the time...")));
prints
4E6F77206973207468652074696D652E2E2E
Now is the time...
on standard output.
| | |
| Return: |
String
| | |
| See Also: |
btoh,
htoa,
htob
|
|
Yoix is a registered trademark of AT&T Inc.
|