Provides support for encoding arbitrary 8-bit data sequences into a sequence of printable ASCII characters. This is rarely needed by EDIReader, but is useful in achieving XML-friendly representation of ANSI BIN segments.

This implementation is functionally equivalent to other Java implementations but was developed from scratch to avoid potential copyright issues.