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

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

Issue 2720953004: Fix typo in IoSink.flush documentation. (Closed)
Patch Set: Created 3 years, 9 months 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
« no previous file with comments | « no previous file | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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; 5 part of dart.io;
6 6
7 /** 7 /**
8 * A combined byte and text output. 8 * A combined byte and text output.
9 * 9 *
10 * An [IOSink] combines a [StreamSink] of bytes with a [StringSink], 10 * An [IOSink] combines a [StreamSink] of bytes with a [StringSink],
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 /** 105 /**
106 * Adds all elements of the given [stream] to `this`. 106 * Adds all elements of the given [stream] to `this`.
107 * 107 *
108 * Returns a [Future] that completes when 108 * Returns a [Future] that completes when
109 * all elements of the given [stream] are added to `this`. 109 * all elements of the given [stream] are added to `this`.
110 */ 110 */
111 Future addStream(Stream<List<int>> stream); 111 Future addStream(Stream<List<int>> stream);
112 112
113 /** 113 /**
114 * Returns a [Future] that completes once all buffered data is accepted by the 114 * Returns a [Future] that completes once all buffered data is accepted by the
115 * to underlying [StreamConsumer]. 115 * underlying [StreamConsumer].
116 * 116 *
117 * This method must not be called while an [addStream] is incomplete. 117 * This method must not be called while an [addStream] is incomplete.
118 * 118 *
119 * NOTE: This is not necessarily the same as the data being flushed by the 119 * NOTE: This is not necessarily the same as the data being flushed by the
120 * operating system. 120 * operating system.
121 */ 121 */
122 Future flush(); 122 Future flush();
123 123
124 /** 124 /**
125 * Close the target consumer. 125 * Close the target consumer.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 void writeln([Object object = ""]) { 305 void writeln([Object object = ""]) {
306 write(object); 306 write(object);
307 write("\n"); 307 write("\n");
308 } 308 }
309 309
310 void writeCharCode(int charCode) { 310 void writeCharCode(int charCode) {
311 write(new String.fromCharCode(charCode)); 311 write(new String.fromCharCode(charCode));
312 } 312 }
313 } 313 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698