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