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

Unified Diff: sdk/lib/io/socket.dart

Issue 18500006: dart:io | Pass errors from multithreaded encryption back to Dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Compile libssl_dart without DEBUG defined. Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/secure_socket.dart ('k') | tests/standalone/io/secure_socket_bad_data_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index a74f2a1326253b54ac727220d610ce949590dcff..1f1211a49d24ce05bc1cadd8b4a18226be1380c5 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -345,6 +345,9 @@ abstract class RawSocket implements Stream<RawSocketEvent> {
* the socket. The number of successfully written bytes is returned. This
* function is non-blocking and will only write data if buffer space is
* available in the socket.
+ *
+ * The default value for [offset] is 0, and the default value for [count] is
+ * [:buffer.length - offset:].
*/
int write(List<int> buffer, [int offset, int count]);
« no previous file with comments | « sdk/lib/io/secure_socket.dart ('k') | tests/standalone/io/secure_socket_bad_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698