Index: lib/io/stream_util.dart |
diff --git a/runtime/bin/stream_util.dart b/lib/io/stream_util.dart |
similarity index 98% |
rename from runtime/bin/stream_util.dart |
rename to lib/io/stream_util.dart |
index fc6ee1f0c5123fdda33d105bdc5f2727d4f254c8..150018168750a46856a01442e6ba2adf73e12abc 100644 |
--- a/runtime/bin/stream_util.dart |
+++ b/lib/io/stream_util.dart |
@@ -2,8 +2,8 @@ |
// 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. |
-class _BaseDataInputStream { |
- abstract int available(); |
+abstract class _BaseDataInputStream { |
+ int available(); |
List<int> read([int len]) { |
if (_closeCallbackCalled || _scheduledCloseCallback != null) return null; |
@@ -65,7 +65,7 @@ class _BaseDataInputStream { |
} |
} |
- abstract List<int> _read(int bytesToRead); |
+ List<int> _read(int bytesToRead); |
void _dataReceived() { |
// More data has been received asynchronously. Perform the data |