Spec-Zone.ru › Dart 1

dart:io

свойство decoder

Converter<List<int>, String> decoder

Возвращает декодер this, преобразующий из T в S.

Он может быть состоянием и не должен повторно использоваться.

Исходный код

Converter<List<int>, String> get decoder {
  if (Platform.operatingSystem == "windows") {
    return const _WindowsCodePageDecoder();
  } else {
    return const Utf8Decoder();
  }
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/SystemEncoding/decoder.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API