dart-sdk/utils
sgjesse@google.com b6096848b1 Make IOSink implement StringSink
Besides adding the StringSink methods I also added writeBytes and
deprecated both add and addString.

To handle the encoding of strings the IOSike has an encoding
property. This property is mutable in situation when it makes sense to
change encoding of what is written. The exception here is for HTTP
where the encoding is determined from the header and the encoding
cannot be changed.

R=ajohnsen@google.com, ager@google.com, nweiz@google.com

BUG=

Review URL: https://codereview.chromium.org//12504006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19676 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 10:06:28 +00:00
..
apidoc Revert "Remove pkg from apidoc." 2013-03-07 15:19:14 +00:00
compiler 1. Change option --use_script_snapshot to --use-script-snapshot (easier to type). 2013-01-26 05:47:56 +00:00
css Remove deprecated string features. 2013-02-25 10:48:09 +00:00
lib Change new List(n) to return fixed length list. 2013-02-27 08:45:04 +00:00
peg Change new List(n) to return fixed length list. 2013-02-27 08:45:04 +00:00
pub Delete files synchronously. 2013-03-05 21:32:35 +00:00
template Remove deprecated string features. 2013-02-25 10:48:09 +00:00
testrunner Remove deprecated string features. 2013-02-25 10:48:09 +00:00
tests Make IOSink implement StringSink 2013-03-08 10:06:28 +00:00