Index: lib/protobuf/runtime/ListIntProvider.dart |
diff --git a/lib/protobuf/runtime/ListIntProvider.dart b/lib/protobuf/runtime/ListIntProvider.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c31d6fd40e7a2c3b9637ed576c4d7f5ab978f778 |
--- /dev/null |
+++ b/lib/protobuf/runtime/ListIntProvider.dart |
@@ -0,0 +1,9 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
+/** |
+ * Provides a List<int> based version of integer arrays. |
+ */ |
+List<int> createIntArray(int length) => new List<int>(length); |
+List<int> createIntArrayFrom(List<int> source) => new List<int>.from(source); |