| Index: runtime/bin/output_stream.dart
|
| diff --git a/runtime/bin/output_stream.dart b/runtime/bin/output_stream.dart
|
| index 41743a84f4cb5d7f47d29ec1511ad16a55376397..7e5b9ffcb7cd2c20107c328b3ee7a7d2111ecc3f 100644
|
| --- a/runtime/bin/output_stream.dart
|
| +++ b/runtime/bin/output_stream.dart
|
| @@ -41,6 +41,16 @@ interface OutputStream {
|
| bool writeFrom(List<int> buffer, [int offset, int len]);
|
|
|
| /**
|
| + * Write a string to the stream using the given [encoding].The
|
| + * default encoding is UTF-8 - [:Encoding.UTF_8:].
|
| + *
|
| + * Returns true if the data could be written to the underlying
|
| + * communication channel immediately. Otherwise the data is buffered
|
| + * by the output stream and will be sent as soon as possible.
|
| + */
|
| + bool writeString(String string, [Encoding encoding]);
|
| +
|
| + /**
|
| * Indicate that all data has been written to the output
|
| * stream. When all data has been written to the communication
|
| * channel it will be closed.
|
|
|