But "dec" is wrong. It's really a conversion between base 256 and base 16. No base 10 in sight. "octets2hex" would be better.
/ Niels Möller ()
Previous text:
2003-03-13 08:03: Subject: Re: nettle.cmod
how about String.dec2hex and String.hex2dec
since here input and output are always strings, hex2string is not specific since in other functions the content of the string is being descibed.
hex2int would be wrong because int should mean a real integer as it does in String.int2roman() and hex is a representation of an integer.
greetings, martin.
/ Brevbäraren