David Olbersen wrote:

> I'm writing a script that will be (among other things) decoding email attachments 
> using MIME::Decoder.
>
> I plan on limiting the maximum attachment size to some limit.
>
> Does anybody know where I can find the size differences between the encoded and 
> decoded file?
>
> That is to say, does the base64 encoded version of a 1k file still take up 1k?

Hi David,

The data ratio is 4:3, since base-64 uses 4 bytes to code three bytes of data.

HTH

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to