| Index: sdk/lib/convert/encoding.dart
|
| diff --git a/sdk/lib/convert/encoding.dart b/sdk/lib/convert/encoding.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d7092bcece977dc0c677b646c416f526e666a4ae
|
| --- /dev/null
|
| +++ b/sdk/lib/convert/encoding.dart
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +part of dart.convert;
|
| +
|
| +/**
|
| + * Open-ended Encoding enum.
|
| + */
|
| +// TODO(floitsch): dart:io already has an Encoding class. If we can't
|
| +// consolitate them, we need to remove `Encoding` here.
|
| +abstract class Encoding extends Codec<String, List<int>> {
|
| + const Encoding();
|
| +}
|
| +
|
| +// TODO(floitsch): add other encodings, like ASCII and ISO_8859_1.
|
|
|