OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // All the code in this file is a direct copy from dart:convert. It is | 5 // All the code in this file is a direct copy from dart:convert. It is |
6 // here to remove the dependency on dart:convert which will not be | 6 // here to remove the dependency on dart:convert which will not be |
7 // part of the library set for embedded due to its dependency on | 7 // part of the library set for embedded due to its dependency on |
8 // dart:async. | 8 // dart:async. |
9 | 9 |
10 part of ffi; | 10 part of ffi; |
11 | 11 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 } | 220 } |
221 break loop; | 221 break loop; |
222 } | 222 } |
223 if (expectedUnits > 0) { | 223 if (expectedUnits > 0) { |
224 _value = value; | 224 _value = value; |
225 _expectedUnits = expectedUnits; | 225 _expectedUnits = expectedUnits; |
226 _extraUnits = extraUnits; | 226 _extraUnits = extraUnits; |
227 } | 227 } |
228 } | 228 } |
229 } | 229 } |
OLD | NEW |