Merge pull request #2188 from Wallacoloo/rm-deprecated-b64

Remove deprecated base64::encode(QVariant) version
This commit is contained in:
Colin Wallace
2015-07-19 14:34:03 -07:00
2 changed files with 0 additions and 17 deletions

View File

@@ -35,21 +35,6 @@ namespace base64
{
QString encode( const QVariant & _data )
{
QBuffer buf;
buf.open( QBuffer::WriteOnly );
QDataStream out( &buf );
out << _data;
QByteArray data = buf.buffer();
QString dst;
encode( data.constData(), data.size(), dst );
return( dst );
}
QVariant decode( const QString & _b64, QVariant::Type _force_type )
{
char * dst = NULL;