New modules.
WrenCI / linux (push) Waiting to run
WrenCI / mac (push) Waiting to run
WrenCI / windows (push) Waiting to run

This commit is contained in:
2026-01-24 19:35:43 +01:00
parent 1a08b3adf0
commit 236d69c2d7
118 changed files with 315687 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
import "base64" for Base64
System.print(Base64.encode("Hello")) // expect: SGVsbG8=
System.print(Base64.encode("Hello, World!")) // expect: SGVsbG8sIFdvcmxkIQ==
System.print(Base64.encode("")) // expect:
System.print(Base64.encode("a")) // expect: YQ==
System.print(Base64.encode("ab")) // expect: YWI=
System.print(Base64.encode("abc")) // expect: YWJj
System.print(Base64.decode("SGVsbG8=")) // expect: Hello
System.print(Base64.decode("SGVsbG8sIFdvcmxkIQ==")) // expect: Hello, World!
System.print(Base64.decode("")) // expect:
System.print(Base64.decode("YQ==")) // expect: a
System.print(Base64.decode("YWI=")) // expect: ab
System.print(Base64.decode("YWJj")) // expect: abc
System.print(Base64.encodeUrl("Hello+World/Test")) // expect: SGVsbG8rV29ybGQvVGVzdA
System.print(Base64.decode(Base64.encode("Test roundtrip"))) // expect: Test roundtrip