Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: runtime/bin/file_impl.dart

Issue 8989019: Implement list based output stream and add pipe to list based input streams (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from ager@ Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/builtin_sources.gypi ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_impl.dart
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
index 60eef959111f01d46c62ccc72cb3c9e9b47f6c2f..61528246131343e55117e5c4d306e41dc7292184 100644
--- a/runtime/bin/file_impl.dart
+++ b/runtime/bin/file_impl.dart
@@ -128,7 +128,7 @@ class _FileOutputStream implements FileOutputStream {
return _write(buffer, 0, buffer.length);
}
- bool writeFrom(List<int> buffer, [int offset, int len]) {
+ bool writeFrom(List<int> buffer, [int offset = 0, int len]) {
return _write(
buffer, offset, (len == null) ? buffer.length - offset : len);
}
« no previous file with comments | « runtime/bin/builtin_sources.gypi ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698