Skip to content

File.readAsBytes should return Uint8List #31547

Closed
@tvolkert

Description

@tvolkert

File.readAsBytes (and the sync version as well) should return Uint8List rather than List<int>. This is a backwards-compatible change since Uint8List implements List<int>.

@zanderso

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-iotype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions