27 lines
1.9 KiB
C++
27 lines
1.9 KiB
C++
//*********************************************************************
|
|
//* C_Base64 - a simple base64 encoder and decoder.
|
|
//*
|
|
//* Copyright (c) 1999, Bob Withers - bwit@pobox.com
|
|
//*
|
|
//* This code may be freely used for any purpose, either personal
|
|
//* or commercial, provided the authors copyright notice remains
|
|
//* intact.
|
|
//*********************************************************************
|
|
//
|
|
// converted to wxWindows by Frank Buß
|
|
//
|
|
|
|
#ifndef BASE64_H
|
|
#define BASE64_H
|
|
|
|
#include <wx/wx.h>
|
|
|
|
class wxBase64
|
|
{
|
|
public:
|
|
static wxString Encode(const wxUint8* pData, size_t length);
|
|
|
|
static wxString Decode(const wxString& data);
|
|
};
|
|
|
|
#endif |