VB example VC++ example Delphi example C# example VB.NET example
In the descriptions below, you can freely replace the word "encode" with "decode" in order to find out how to decode data, because encoding and decoding work exactly the same way.
To encode data from one file to another in a single pass, perform the following 3 steps. Put the Xceed Binary Encoding control on a form or instantiate it, then:
Specify the format for the resulting encoded data. To do this, set the EncodingFormat property.
Tell the library to encode. To do this, call the ProcessFile method, passing the source and destination filenames and specifying True for the bEndOfData parameter.
Make sure that everything worked properly. To do this, use your language's error handling object or error handling capabilities. The Xceed Binary Encoding Library supports standard COM error handling functionality.