OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of "convert.dart"; | 5 part of "dart:convert"; |
6 | 6 |
7 /** The Unicode Replacement character `U+FFFD` (�). */ | 7 /** The Unicode Replacement character `U+FFFD` (�). */ |
8 const int UNICODE_REPLACEMENT_CHARACTER_RUNE = 0xFFFD; | 8 const int UNICODE_REPLACEMENT_CHARACTER_RUNE = 0xFFFD; |
9 | 9 |
10 /** The Unicode Byte Order Marker (BOM) character `U+FEFF`. */ | 10 /** The Unicode Byte Order Marker (BOM) character `U+FEFF`. */ |
11 const int UNICODE_BOM_CHARACTER_RUNE = 0xFEFF; | 11 const int UNICODE_BOM_CHARACTER_RUNE = 0xFEFF; |
12 | 12 |
13 /** | 13 /** |
14 * An instance of the default implementation of the [Utf8Codec]. | 14 * An instance of the default implementation of the [Utf8Codec]. |
15 * | 15 * |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 } | 578 } |
579 break loop; | 579 break loop; |
580 } | 580 } |
581 if (expectedUnits > 0) { | 581 if (expectedUnits > 0) { |
582 _value = value; | 582 _value = value; |
583 _expectedUnits = expectedUnits; | 583 _expectedUnits = expectedUnits; |
584 _extraUnits = extraUnits; | 584 _extraUnits = extraUnits; |
585 } | 585 } |
586 } | 586 } |
587 } | 587 } |
OLD | NEW |