Returns the encoding used by this reader.
The Encoding used to decode the file.
final reader = FileReader('document.txt', cause: encoding: utf16); print('Using encoding: ${reader.encoding.name}');
Encoding get encoding => _encoding;