Comando para Decodificar um arquivo binário em Base64 e Gravar no disco local.


ACBr.DecodeBase64 (cConteudoBase64, cPathArquivo )


Parâmetros:


cConteudoBase64 – Conteúdo em Base64 para ser decodificado

cPathArquivo – Nome completo do Arquivo a ser Lido, informe o Path



Exemplo


ACBr.DecodeBase64("JVBERi0xLjINCjEgMCBvYmogPDwNCi9DcmVhdGlvbkRhdGUoRDoyMDE5MDgyMjE2MjcwNCkNCi9BdXRob3IoRm9ydGVzUmVwb3J0IDMuMjMgLSBDb3B5cmlnaHQgqSAxOTk5LTIwMDkgRm9ydGVzIEluZm9ybeF0aWNhKQ0KL0NyZWF0b3IoUHJvamV0byBBQ0JyIChDb21wb25lbnRlIE5GLWUpKQ0KPj4gZW5kb2JqDQoyIDAgb2JqIDw8DQovVHlwZS9DYXRhbG9nDQovUGFnZXMgMyAwIFINCj4+IGVuZG9iag0KNSAwIG9iaiA8PA0KL1R5cGUvUGFnZQ0KL1BhcmVudCAzIDAgUg0KL1Jlc291cmNlcyA0IDAgUg0KL01lZGlhQm94IFsgMCAwIDU5NS41IDg0Mi4yNSBdDQovQ29udGVudHMgNiAwIFINCj4+IGVuZG9iag0KNiAwIG9iaiA8PA0KL0xlbmd0aCA3IDAgUg0KPj4NCnN0cmVhbQ0KcQ0KMTQuMjUgNzc3IDU2NyA0NS43NSByZQ0KVyBuDQowLjc1IHcNCjAgSg0KW10gMCBkDQowIDAgMCBSRw0KMCAwIDAg...==", "C:\ACBrMonitorPLUS\PDF\NFe.pdf")


Exemplo de Resposta:

OK:  C:\ACBrMonitorPLUS\PDF\NFe.pdf

Created with the Personal Edition of HelpNDoc: Easily create Qt Help files