EncodeVariant
Sub EncodeVariant (
SourceData As Variant ) As String |
The
EncodeVariant function encodes the SourceData data into Base64 format.
Encoding is compatible to RFC 2045.
if an error
happens the Error property differs from ERR_OK.
Analyzing this property you can find the reason of the failure. If you
want to encode the whole file you should better use EncodeFile
function.
|