Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Base64-decode-data/Seed7/base64-decode-data.seed7
Normal file
14
Task/Base64-decode-data/Seed7/base64-decode-data.seed7
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$ include "seed7_05.s7i";
|
||||
include "gethttp.s7i";
|
||||
include "encoding.s7i";
|
||||
|
||||
const proc: main is func
|
||||
local
|
||||
var string: original is "";
|
||||
var string: encoded is "";
|
||||
begin
|
||||
original := getHttp("rosettacode.org/favicon.ico");
|
||||
encoded := toBase64(original);
|
||||
writeln("Is the Rosetta Code icon the same (byte for byte) encoded then decoded: " <&
|
||||
fromBase64(encoded) = original);
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue