Create a base64 encoder.
whether to use line breaks in the output
the length of the lines of the output
whether to use a trailing newline
See Implementation
Create a base64 encoder.