变体转Base64字符串
function VariantToBase64String(v: Variant): string;
var
vStream: TMemoryStream;
begin
vStream := TMemoryStream.Create;
try
VariantToStream(vStream, v);
Result := StreamToBase64String(vStream);
finally
vStream.DisposeOf;
end;
end;
无
《学习大师原创文档,请勿转载,侵权必究》