Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Base64-decode-data/Delphi/base64-decode-data.delphi
Normal file
15
Task/Base64-decode-data/Delphi/base64-decode-data.delphi
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
program Base64Decoder;
|
||||
|
||||
{$APPTYPE CONSOLE}
|
||||
|
||||
uses
|
||||
System.SysUtils, System.NetEncoding;
|
||||
|
||||
const
|
||||
Src = 'VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZWVkIGEgY29tcHV0ZXIuCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=';
|
||||
|
||||
begin
|
||||
WriteLn(Format('Source string: ' + sLineBreak + '"%s"', [Src]));
|
||||
WriteLn(Format('Decoded string: ' + sLineBreak + '"%s"', [TNetEncoding.Base64.Decode(Src)]));
|
||||
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue