Windows1251Decoder constructor

const Windows1251Decoder({
  1. bool allowInvalid = false,
})

Creates a new []

Set allowInvalid to true for ignoring invalid data. When invalid data is allowed it will be decoded to �

Implementation

const Windows1251Decoder({
  bool allowInvalid = false,
}) : super(_cp1251Symbols, allowInvalid: allowInvalid);