Closed tvolkert closed 5 years ago
/cc @kevmoo (I can't add you as an official reviewer since I'm not a committer in this repo).
This unblocks https://dart-review.googlesource.com/c/sdk/+/101742 from landing
@kevmoo would you merge this for me too please?
(this is a forwards compatible change)
This updates
_CopyingBytesBuilder
such thattakeBytes()
andtoBytes()
both declare a return type ofUint8List
rather thanList<int>
.This is in preparation for an SDK update whereby the API of
BytesBuilder
will receive the same update.https://github.com/dart-lang/sdk/issues/36900