BaseEncoder constructor

const BaseEncoder(
  1. Map<int, int> encodingMap,
  2. int startIndex, {
  3. bool allowInvalid = false,
  4. int lowerEndIndex = -1,
})

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,
});