Spec-Zone.ru › Dart 2

dart:convert

Класс Latin1Codec

Latin1Codec кодирует строки в байты ISO Latin-1 (также известный как ISO-8859-1) и декодирует байты Latin-1 в строки.

Наследование
  • Object
  • Codec<String, List<int>>
  • Encoding
  • Latin1Codec

Конструкторы

Latin1Codec({bool allowInvalid = false})
const
Создаёт новый экземпляр Latin1Codec.

Свойства

decoder → Latin1Decoder
read-onlyoverride
Возвращает декодер this, преобразующий List<int> в String.
encoder → Latin1Encoder
read-onlyoverride
Возвращает кодировщик, преобразующий String в List<int>.
hashCode → int
read-onlyinherited
Хеш-код этого объекта.
inverted → Codec<List<int>, String>
read-onlyinherited
Инвертирует this.
name → String
read-onlyoverride
Название этого кодека — «iso-8859-1».
runtimeType → Type
read-onlyinherited
Представление типа объекта во время выполнения.

Методы

decode(List<int> bytes, {bool? allowInvalid}) → String
override
Декодирует bytes Latin-1 (список беззнаковых 8-битных целых чисел) в соответствующую строку.
decodeStream(Stream<List<int>> byteStream) → Future<String>
inherited
encode(String source) → Uint8List
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-convert/Latin1Codec-class.html

Spec-Zone.ru

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