DJGosnell / base62-csharp

Base62 Encoding C# implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

base62-csharp

Base62 Encoding C# implementation.

Encodes byte array to base62 string.

Decodes base62 string to byte array.

Example

    void Encode()
    {
        string s = (new byte[] { 116, 32, 8, 99, 100, 232, 4, 7 }).ToBase62();
    }

    void Decode()
    {
        byte[] b = "T208OsJe107".FromBase62();
    }

About

Base62 Encoding C# implementation

License:MIT License


Languages

Language:C# 100.0%