Xceed Binary Encoding Library Documentation
Sample Applications / Decode Sample Application for Visual C++
In This Topic
    Decode Sample Application for Visual C++
    In This Topic

    Introduction

    This sample demonstrates how to decode a file using different kinds of encoding methods.

    Project path

    Project path: Samples\Visual C++ 6-7\Decode

    Project file name : Decode.dsp

    Demonstrates

    Properties used : ContinueOnInvalidData, DataFormating and EncodingFormat.

    Method used : ReadFile and ProcessFile

    How to use

    This sample is a console application that takes at least one parameter (the source file name) to perform decoding. The sample's command-line usage specifications are:

    Decode [options] input_file [output_file]

    The parameters between brackets are optional. The option parameter can be used to specify the encoding method and if the decoding should continue if it encounters invalid data. If omitted, these options are set to UUEncoding and No respectively. If the output file name is omitted, the decoded output is sent to the screen.