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

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

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/http_utils.dart ('k') | sdk/lib/io/io.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of dart.io;
6
5 /** 7 /**
6 * Basic input stream which supplies binary data. 8 * Basic input stream which supplies binary data.
7 * 9 *
8 * Input streams are used to read data sequentially from some data 10 * Input streams are used to read data sequentially from some data
9 * source. All input streams are non-blocking. They each have a number 11 * source. All input streams are non-blocking. They each have a number
10 * of read calls which will always return without any IO related 12 * of read calls which will always return without any IO related
11 * blocking. If the requested data is not available a read call will 13 * blocking. If the requested data is not available a read call will
12 * return `null`. All input streams have one or more handlers which 14 * return `null`. All input streams have one or more handlers which
13 * will trigger when data is available. 15 * will trigger when data is available.
14 * 16 *
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 void set onError(void callback(e)); 249 void set onError(void callback(e));
248 } 250 }
249 251
250 252
251 class StreamException implements Exception { 253 class StreamException implements Exception {
252 const StreamException([String this.message = ""]); 254 const StreamException([String this.message = ""]);
253 const StreamException.streamClosed() : message = "Stream closed"; 255 const StreamException.streamClosed() : message = "Stream closed";
254 String toString() => "StreamException: $message"; 256 String toString() => "StreamException: $message";
255 final String message; 257 final String message;
256 } 258 }
OLDNEW
« no previous file with comments | « sdk/lib/io/http_utils.dart ('k') | sdk/lib/io/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698