Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Base64-decode-data/D/base64-decode-data.d
Normal file
11
Task/Base64-decode-data/D/base64-decode-data.d
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import std.base64;
|
||||
import std.stdio;
|
||||
|
||||
void main() {
|
||||
auto data = "VG8gZXJyIGlzIGh1bWFuLCBidXQgdG8gcmVhbGx5IGZvdWwgdGhpbmdzIHVwIHlvdSBuZWVkIGEgY29tcHV0ZXIuCiAgICAtLSBQYXVsIFIuIEVocmxpY2g=";
|
||||
writeln(data);
|
||||
writeln;
|
||||
|
||||
auto decoded = cast(char[])Base64.decode(data);
|
||||
writeln(decoded);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue