decodeText static method
Decodes text bytes, detecting the encoding (handles old Persian Windows-1256 files).
Implementation
static UDecodedText decodeText(Uint8List bytes, {String? forced}) => UTextDecoder.decode(bytes, forced: forced);
Decodes text bytes, detecting the encoding (handles old Persian Windows-1256 files).
static UDecodedText decodeText(Uint8List bytes, {String? forced}) => UTextDecoder.decode(bytes, forced: forced);