> I'm changing the way part of my app works. Rather than extracting and > decoding UU encoded attachments from newsgroups I'm going to leave > them in the encoded post. What I want is to be able to display a list > of the files and their sizes. Extracting the file name is no problem, > but I would like a faster way of getting the file size than decoding > it and checking its length.
What about to count of encoded chars (without decoding) divided by 4 and multiplied by 3? -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
