WindowsDecoder constructor

const WindowsDecoder(
  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 WindowsDecoder(String symbols, {bool allowInvalid = false})
    : super(symbols, 0x7F, allowInvalid: allowInvalid);