encoder property
Returns the encoder from String
to List<int>
.
It may be stateful and should not be reused.
Implementation
@override
Windows1256Encoder get encoder => allowInvalid
? const Windows1256Encoder(allowInvalid: true)
: const Windows1256Encoder(allowInvalid: false);