Base64Encoder constructor
Creates a new Base64Encoder instance.
Parameters:
- The
alphabetmaps each 6-bit word to its output character. - If
paddingis not null, the output is padded with it to a multiple of 4 characters.
Implementation
const Base64Encoder({
required super.alphabet,
super.padding,
}) : super(bits: 6);