WEB开发网
开发学院手机开发Symbian 开发 Symbian Base64 编码、解码的实现 阅读

Symbian Base64 编码、解码的实现

 2010-02-26 16:00:00 来源:WEB开发网   
核心提示:HBufC *enbuff16 = HBufC::NewLC( (*encodeBuf).Length() );enbuff16->Des().Copy( *encodeBuf );console->Write( enbuff16->Des() );console->Write( _L(&quo

HBufC *enbuff16 = HBufC::NewLC( (*encodeBuf).Length() );

enbuff16->Des().Copy( *encodeBuf );

console->Write( enbuff16->Des() );

console->Write( _L(" ") );

HBufC8* decodeBuf = Handler->Base64DecodeLC( ( *encodeBuf ) );

HBufC *debuff16 = HBufC::NewLC( (*decodeBuf).Length() );

debuff16->Des().Copy( *decodeBuf );

console->Write( debuff16->Des() );

console->Write( _L(" ") );

CleanupStack::PopAndDestroy(4);

上一页  1 2 3 

Tags:Symbian Base 编码

编辑录入:coldstar [复制链接] [打 印]
赞助商链接