SOL9 Sample: Base64FileDecoder

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * Base64FileDecoder.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


// 2008/09/30 Modified to include the header file for SOL::Base64FileEncoder

#include <sol\Base64FileDecoder.h>


////////////////////////////////////////
// Program main

void _tmain(int argc, TCHAR* argv[])
{
  if (argc <3) {
    _tprintf(_T("Usage:Base64FileDecoder.exe base64FilePath filePath\n"));

    _tprintf(_T("Example:Base64FileDecoder.exe base64FilePath filePath\n"));

    return;
  }


  Base64FileDecoder decoder;

  bool rc = decoder.decode(argv[1], argv[2]);
  if (rc) {
    _tprintf(_T("Base64FileDecoder,OK\n"));
  }
}

Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.