Saving a Base64 string to disk as a binary using Delphi 2007

前端 未结 2 1063
有刺的猬
有刺的猬 2021-01-07 12:22

I have a Base64 binary string that is part of an XML document that is sent to us by a 3rd party supplier, I would like to be able to save it back to its original file format

2条回答
  •  忘掉有多难
    2021-01-07 12:33

    The Internet Direct (Indy) library contains classes in IdCoderMIME.pas which support Base64 encoding and are easy to use: TIdEncoderMIME and TIdDecoderMIME.

提交回复
热议问题