Класс SystemEncoding
Системная кодировка — это текущая кодовая страница в Windows и UTF-8 в Linux и Mac.
Конструкторы
- SystemEncoding() const
- Создаёт константу SystemEncoding.
Свойства
- decoder → Converter<
List< int>, String> read-onlyoverride - Возвращает декодер
this, преобразующийList<int>вString. - encoder → Converter<
String, List< int>> read-onlyoverride - Возвращает кодировщик, преобразующий
StringвList<int>. - hashCode → int read-onlyinherited
- Хеш-код этого объекта.
- inverted → Codec<
List< int>, String> read-onlyinherited - Инвертирует
this. - name → String read-onlyoverride
- Название кодировки.
- runtimeType → Type read-onlyinherited
- Представление типа объекта во время выполнения.
Методы
- decode(
List< int> encoded) → String override - Декодирует данные
encoded. - decodeStream(
Stream< List< int>> byteStream) → Future< String> inherited - encode(
String input) → List< int> override - Кодирует
input. - fuse<
R>( Codec< List< int>, R> other) → Codec< String, R> inherited - Объединяет
thisсother. - noSuchMethod(
Invocation invocation) → dynamic inherited - Вызывается при обращении к несуществующему методу или свойству.
- toString(
) → String inherited - Строковое представление этого объекта.
Операторы
- operator ==(
Object other) → bool inherited - Оператор равенства.
© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-io/SystemEncoding-class.html