KoiDecoder constructor

const KoiDecoder(
  1. String symbols, {
  2. bool allowInvalid = false,
})

Creates a new KoiDecoder.

The symbols need to be exactly 128 characters long.

Set allowInvalid to true in case invalid characters sequences should be at least readable.

Implementation

const KoiDecoder(String symbols, {bool allowInvalid = false})
    : super(symbols, 0x7F, allowInvalid: allowInvalid);