[dart-announce] BREAKING CHANGE: dart:io ZLibDeflater/ZLibInflater renamed to ZLibEncoder/ZLibDecoder

82 views
Skip to first unread message

Anders Johnsen

unread,
Aug 23, 2013, 4:05:32 AM8/23/13
to announce
BREAKING CHANGE!

As part of the new dart:convert library, we've rewritten out ZLib implementation to provide both ZLib/GZip codecs and converters.

As Converters are Streams, the usage is quite similar. Note that with dart:convert, we now also have direct encode/decode methods as well as chunked conversions.

Regards,

- Anders

--
For more news and information, visit http://news.dartlang.org/
 
To join the conversation, visit https://groups.google.com/a/dartlang.org/

Dan Schultz

unread,
Aug 29, 2013, 1:03:24 AM8/29/13
to mi...@dartlang.org, announce, e...@dartlang.org
Are there any plans to move zlib encoding/decoding out of dart:io? We have a web project that'd benefit from these libraries, but can't use them since they're in dart:io.

Dan

Seth Ladd

unread,
Aug 29, 2013, 3:36:20 AM8/29/13
to e...@dartlang.org, General Dart Discussion, Florian Loitsch, Søren Gjesse
+ Florian, Soren

Thanks for the suggestion. I don't know if the Zlib code relies on dart:io, but it not, it makes sense to make this available to web apps. I just opened https://code.google.com/p/dart/issues/detail?id=12876 to track this request.


--
For general Dart discussion, consider posting to mi...@dartlang.org
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Project Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eng+uns...@dartlang.org.
For more options, visit https://groups.google.com/a/dartlang.org/groups/opt_out.

Filipe Morgado

unread,
Aug 29, 2013, 4:48:41 AM8/29/13
to mi...@dartlang.org, e...@dartlang.org, Florian Loitsch, Søren Gjesse
Isn't this being refactored to dart:convert?

Søren Gjesse

unread,
Aug 29, 2013, 10:43:19 AM8/29/13
to Filipe Morgado, General Dart Discussion, e...@dartlang.org, Florian Loitsch
The zlib encoding/decoding will stay in dart:io for the time being. For details on why see the comments on the bug https://code.google.com/p/dart/issues/detail?id=12876.

Regards,
Søren
Reply all
Reply to author
Forward
0 new messages