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

Side by Side Diff: lib/io/input_stream.dart

Issue 11337019: Use patching for dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * Basic input stream which supplies binary data. 6 * Basic input stream which supplies binary data.
7 * 7 *
8 * Input streams are used to read data sequentially from some data 8 * Input streams are used to read data sequentially from some data
9 * source. All input streams are non-blocking. They each have a number 9 * source. All input streams are non-blocking. They each have a number
10 * of read calls which will always return without any IO related 10 * of read calls which will always return without any IO related
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 void set onError(void callback(e)); 242 void set onError(void callback(e));
243 } 243 }
244 244
245 245
246 class StreamException implements Exception { 246 class StreamException implements Exception {
247 const StreamException([String this.message = ""]); 247 const StreamException([String this.message = ""]);
248 const StreamException.streamClosed() : message = "Stream closed"; 248 const StreamException.streamClosed() : message = "Stream closed";
249 String toString() => "StreamException: $message"; 249 String toString() => "StreamException: $message";
250 final String message; 250 final String message;
251 } 251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698