|
![](/i/fill.gif) |
Thorsten Froehlich wrote:
> clipka wrote:
>> Stephen <mcavoysAT@aolDOTcom> wrote:
>>> So what is 1000000 bytes in the real world?
>>
>> Hmm... with uuencoding and all, I'd say... something like a 700k file? ;)
>
> Encoding commonly adds 25% (twentyfive) size, thus the actual file size
> limit is 20% (twenty) less than the maximum permitted, thus for 5 MB the
> uploadable filesize is 4 MB.
Actually, I believe it adds 33% and so to get the real size, subtract 25%.
The way uucode and similar codings work is to take 3 characters
(bytes). Write them in binary next to each other - you have 24 bits.
Partition into 4 (6 bits each). Get the character represented by each of
those 6 bits (some shifting may be necessary) to get 4 bytes.
So every set of 3 bytes becomes 4 bytes.
--
(Ice rocks hit the hull) "Captain, we are being hailed."
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawaz org<<<<<<
anl
Post a reply to this message
|
![](/i/fill.gif) |