Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Decode Base64 into Memo or file
#6
(05-11-2019, 10:33 PM)Jose Nilton Pace Wrote: Indy works great:

Code:
IdBytes := TIdDecoderMIME.DecodeBytes( mystringencodedbase64.Text );
base64 := BytesToString( IdBytes, IndyTextEncoding_UTF8);

Calling TIdDecoderMIME.DecodeString() as you originally showed should produce the same output as calling TIdDecoderMIME.DecodeBytes() with BytesToString(). If it is not, that will need to be looked into.

Reply


Messages In This Thread
RE: Decode Base64 into Memo or file - by rlebeau - 05-14-2019, 08:13 AM
RE: Decode Base64 into Memo or file - by rlebeau - 06-25-2019, 05:52 PM
RE: Decode Base64 into Memo or file - by kudzu - 06-25-2019, 04:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)