Spec-Zone.ru › Dart 2

dart:core

статический метод decodeQueryComponent

String decodeQueryComponent(
  1. String encodedComponent,
  2. {Encoding encoding = utf8}
)

Декодирует кодирование процентов в encodedComponent, заменяя знаки плюса пробелами.

Сначала будет создан список байтов декодированных символов, а затем encoding будет использован для декодирования списка байтов в строку. Кодировка по умолчанию — UTF-8.

Реализация

static String decodeQueryComponent(String encodedComponent,
    {Encoding encoding = utf8}) {
  return _Uri._uriDecode(
      encodedComponent, 0, encodedComponent.length, encoding, true);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/Uri/decodeQueryComponent.html

Spec-Zone.ru

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