Use the dart:convert Codec and Converter interfaces
Opened this issue · 8 comments
Encoder and Decoder classes would be derived from Converter, and a Codec class should be provided to combine the two, following the pattern used by the json, utf8, etc converters.
https://api.dartlang.org/apidocs/channels/stable/#dart-convert.Codec@id_encode
I think this would be a relatively simple fix; may I submit a PR? (I plan to send quite a few, so beware)
Cool. I'd like to help you resolve all the outstanding issues, but I'd also like to see this package reach a 2.0, because it seems like a lot of changes are due.
I'll try to get this in within this coming week.
Any updates on this? Looks like this would also allow streamed encoding / decoding which would be quite important for archiving on UI thread in Flutter.
This would be a great addition, specifically due to the fusing functionality.
There's a detailed walkthrough of the Codec
and Converter
system on dart.dev.
Hi guys!
Any updates on this issue?