Spec-Zone.ru › Dart 2

dart:convert

Константа верхнего уровня ascii

AsciiCodec const ascii

Экземпляр стандартной реализации AsciiCodec.

Этот экземпляр предоставляет удобный доступ к наиболее распространенным случаям использования ASCII.

Примеры:

var encoded = ascii.encode("This is ASCII!");
var decoded = ascii.decode([0x54, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73,
                            0x20, 0x41, 0x53, 0x43, 0x49, 0x49, 0x21]);

Реализация

const AsciiCodec ascii = AsciiCodec();

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-convert/ascii-constant.html

Spec-Zone.ru

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