When you want to email a binary file without sending it as an attatchment UUencode translates non-printable characters into printable characters so that email programs can handle them to be sent. It does this by taking 3 chars 8 bit each total 24 bits and stretching them out to 4 chars 6 bits each total 24 bits. 6 bits for each character means a total of 64 possible characters all of which can be used from the printable character set. Does this sound familiar to anyone? Does anyone have an algorithm for this?
Also any procedures for getting/setting specific bits in a byte, integer, word or bit array would be helpfull.