Advertisement
3_2004-2005 Encryption #138881

Base 64 Encoding/Decoding

This is an optimized version of the common Base 64 encode/decode. It eliminates the repeditive calls to chr$() and asc(), as well as the linear searches I've seen in some routines. It also avoid shifting each byte encoded using multiplication and division. This method does use a bit more memory in permanent lookup tables than most do. However, this eliminates the need for using vb's rather slow method of bit shifting (multiplication and division). A method I've not seen elsewhere. It doesn't make much difference in the IDE, but does make a huge difference in the exe. On my machine it's as fast as commercial packages such as Eudora on encoding if not faster.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine