DosCodePageDecoder constructor

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

Creates a new windows codepage decoder.

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 DosCodePageDecoder(
  String symbols, {
  bool allowInvalid = false,
}) : super.withNonAsciiStartBlock(
        _dosCodePageCommonStartBlock,
        symbols,
        0x7e,
        allowInvalid: allowInvalid,
      );