|
The Encoder is a component from the Clever Internet Suite library.
It can be used to Encode or Decode files, streams or strings with any of the Quoted-Printable, MIME Base64 and UUEncode encoding formats.
This component is used by Mail Message for automatic encoding / decoding of attachments and formatting Text and HTML message parts in 7 bit code before email transfer.
- Encode and Decode strings and VCL streams
- Base64, Quoted Printable, UUEncode
- Character and Binary Encoding
- Define number of characters per each line
- Event notification about Encoding Progress
- Free one year upgrades and support
source := TFileStream.Create('OriginalFile.zip', fmOpenRead);
dest := TFileStream.Create('EncodedFile.dat', fmCreate);
try
clEncoder1.Encode(source, dest);
finally
dest.Free();
source.Free();
end; |
source := TFileStream.Create('EncodedFile.dat', fmOpenRead);
dest := TFileStream.Create('OriginalFile.zip', fmCreate);
try
clEncoder1.Decode(source, dest);
finally
dest.Free();
source.Free();
end; |
Please see the Demos code (SimpleEncoder) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.
When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.
|