DecodeBase64 Function |
|
命名空间: XSharp.Core
FUNCTION DecodeBase64( cAttachment AS STRING, hDestination AS IntPtr ) AS LONG
public static int DecodeBase64( string cAttachment, IntPtr hDestination )
1hOut := FCreate("Attachment.txt") 2IF hfOut != F_ERROR 3 nTotalBytes := DecodeBase64(cFilePart, hOut) 4 TextBox{,"解码", "已解码字节数: " + ; 5 AsString(nTotalBytes)}:Show() 6ENDIF 7FClose(hfOut)