Snippet - Base 64 Encoding/Decoding utility functions

Base 64 Encoding/Decoding utility functions

Utility class which contains some quick and dirty methods for converting between a byte array and it’s Base 64 representation and back again.

The routines in this class support both single line encoding and encoding with line breaks every 76 characters as per RFC 2045 (MIME).