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

Side by Side Diff: sdk/lib/io/string_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/stream_util.dart ('k') | sdk/lib/io/timer_impl.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 // Interface for decoders decoding binary data into string data. The 7 // Interface for decoders decoding binary data into string data. The
6 // decoder keeps track of line breaks during decoding. 8 // decoder keeps track of line breaks during decoding.
7 abstract class _StringDecoder { 9 abstract class _StringDecoder {
8 // Add more binary data to be decoded. The ownership of the buffer 10 // Add more binary data to be decoded. The ownership of the buffer
9 // is transfered to the decoder and the caller most not modify it any more. 11 // is transfered to the decoder and the caller most not modify it any more.
10 int write(List<int> buffer); 12 int write(List<int> buffer);
11 13
12 // Returns whether any decoded data is available. 14 // Returns whether any decoded data is available.
13 bool get isEmpty; 15 bool get isEmpty;
14 16
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 bool _inputClosed = false; // Is the underlying input stream closed? 547 bool _inputClosed = false; // Is the underlying input stream closed?
546 bool _closed = false; // Is this stream closed. 548 bool _closed = false; // Is this stream closed.
547 bool _eof = false; // Has all data been read from the decoder? 549 bool _eof = false; // Has all data been read from the decoder?
548 Timer _scheduledDataCallback; 550 Timer _scheduledDataCallback;
549 Timer _scheduledLineCallback; 551 Timer _scheduledLineCallback;
550 Timer _scheduledCloseCallback; 552 Timer _scheduledCloseCallback;
551 Function _clientDataHandler; 553 Function _clientDataHandler;
552 Function _clientLineHandler; 554 Function _clientLineHandler;
553 Function _clientCloseHandler; 555 Function _clientCloseHandler;
554 } 556 }
OLDNEW
« no previous file with comments | « sdk/lib/io/stream_util.dart ('k') | sdk/lib/io/timer_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698