OLD | NEW |
1 dart.library('dart/convert', null, /* Imports */[ | 1 dart_library.library('dart/convert', null, /* Imports */[ |
| 2 "dart_runtime/dart", |
2 'dart/core', | 3 'dart/core', |
3 'dart/async', | 4 'dart/async', |
4 'dart/typed_data', | 5 'dart/typed_data', |
5 'dart/_internal', | 6 'dart/_internal', |
6 'dart/collection' | 7 'dart/collection' |
7 ], /* Lazy imports */[ | 8 ], /* Lazy imports */[ |
8 ], function(exports, core, async, typed_data, _internal, collection) { | 9 ], function(exports, dart, core, async, typed_data, _internal, collection) { |
9 'use strict'; | 10 'use strict'; |
| 11 let dartx = dart.dartx; |
10 let Codec$ = dart.generic(function(S, T) { | 12 let Codec$ = dart.generic(function(S, T) { |
11 class Codec extends core.Object { | 13 class Codec extends core.Object { |
12 Codec() { | 14 Codec() { |
13 } | 15 } |
14 encode(input) { | 16 encode(input) { |
15 dart.as(input, S); | 17 dart.as(input, S); |
16 return this.encoder.convert(input); | 18 return this.encoder.convert(input); |
17 } | 19 } |
18 decode(encoded) { | 20 decode(encoded) { |
19 dart.as(encoded, T); | 21 dart.as(encoded, T); |
(...skipping 2872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2892 exports.LineSplitter = LineSplitter; | 2894 exports.LineSplitter = LineSplitter; |
2893 exports.StringConversionSink = StringConversionSink; | 2895 exports.StringConversionSink = StringConversionSink; |
2894 exports.ClosableStringSink = ClosableStringSink; | 2896 exports.ClosableStringSink = ClosableStringSink; |
2895 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN
E; | 2897 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN
E; |
2896 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; | 2898 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; |
2897 exports.Utf8Codec = Utf8Codec; | 2899 exports.Utf8Codec = Utf8Codec; |
2898 exports.UTF8 = UTF8; | 2900 exports.UTF8 = UTF8; |
2899 exports.Utf8Encoder = Utf8Encoder; | 2901 exports.Utf8Encoder = Utf8Encoder; |
2900 exports.Utf8Decoder = Utf8Decoder; | 2902 exports.Utf8Decoder = Utf8Decoder; |
2901 }); | 2903 }); |
OLD | NEW |