[fpc-pascal] How to convert a large integer to base64

Andreas Schneider aksdb at gmx.de
Sat Jan 15 22:09:10 CET 2011


On Saturday, January 15, 2011 21:42 Frank Church wrote:
> I mean int64 into base64 encoding, as in the mime type. 

Oops,  my  bad.  Then yeah, as Henry said the base64 unit should help.
Depending  on  who and how the number is to be decoded then, you could
also  take  a look at strutils.Dec2Numb which can convert from decimal
into any given number system. (... and the opposite Numb2Dec)

-- 
Best Regards,
Andreas




More information about the fpc-pascal mailing list