Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 524 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 524 Bytes

ASCII85

A C# implementation of the Adobe version ASCII85 coder. Based on the description presented at https://en.wikipedia.org/wiki/Ascii85

Usage

Example Usage

string testString = "This is a test string.";

byte[] bytesToEncode = Encoding.ASCII.GetBytes(testString);
string encodedString = ASCII85.Encode(bytesToEncode);
Console.WriteLine(encodedString);


byte[] decodedBytes = ASCII85.Decode(encodedString);
string originalString = Encoding.ASCII.GetString(decodedBytes);
Console.WriteLine(originalString);