BaseEncoder constructor
const
BaseEncoder(})
Creates a new encoder.
Set allowInvalid to true in case invalid characters should be
translated to question marks.
Implementation
const BaseEncoder(
this.encodingMap,
this.startIndex, {
this.allowInvalid = false,
this.lowerEndIndex = -1,
});