Change implementations to return Uint8List rather than List<int> (#123)

This is in preparation for https://github.com/dart-lang/sdk/issues/36900
15 files changed