Skip to content

Instantly share code, notes, and snippets.

View TheWeirdDev's full-sized avatar
Need more coffee

Alireza |S.N| TheWeirdDev

Need more coffee
  • US
View GitHub Profile
@TheWeirdDev
TheWeirdDev / mybase64.d
Last active July 6, 2020 14:33
Base64 Encode Implementation in D
module mybase64;
import std.stdio;
import std.conv;
import std.array;
immutable mapping = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
int main() {
auto input = stdin.readln();