[dart-announce] Breaking change 52801: Make utf8.encode() / Utf8Codec.encode() return more precise Uint8List type

32 views
Skip to first unread message

'Martin Kustermann' via Dart Announcements

unread,
Jun 28, 2023, 3:03:14 AM6/28/23
to anno...@dartlang.org
We intend to tighten the return type of Utf8Codec.encode() from List<int> to Uint8List

If you have any concerns, please comment at the breaking change proposal here: https://github.com/dart-lang/sdk/issues/52801


--
For more ways to connect visit https://dart.dev/community

'Martin Kustermann' via Dart Announcements

unread,
Jul 11, 2023, 5:03:58 AM7/11/23
to anno...@dartlang.org
The breaking change has now landed on the main branch.
Reply all
Reply to author
Forward
0 new messages