Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: sdk/lib/convert/encoding.dart

Issue 1827803002: Make convert library strong-mode compliant. Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix more converters. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/convert/converter.dart ('k') | sdk/lib/convert/html_escape.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/encoding.dart
diff --git a/sdk/lib/convert/encoding.dart b/sdk/lib/convert/encoding.dart
index 696b5f0fcf750196d14ab8e61f117e428f8fe9cf..fd6f91fcd543415302a00a65c2740cad8365c577 100644
--- a/sdk/lib/convert/encoding.dart
+++ b/sdk/lib/convert/encoding.dart
@@ -10,6 +10,9 @@ part of dart.convert;
abstract class Encoding extends Codec<String, List<int>> {
const Encoding();
+ ChunkedConverter<String, List<int>, String, List<int>> get encoder;
+ ChunkedConverter<List<int>, String, List<int>, String> get decoder;
+
Future<String> decodeStream(Stream<List<int>> byteStream) {
return byteStream
.transform(decoder)
« no previous file with comments | « sdk/lib/convert/converter.dart ('k') | sdk/lib/convert/html_escape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698