• Jonah Williams's avatar
    [framework] load files through ImmutableBuffer.fromFilePath (if exact file type) (#112892) · c0129046
    Jonah Williams authored
    Update FileImage to use the new ImmutableBuffer.fromFilePath constructor to avoid loading bytes through the Dart heap. As a side effect, tis fixes #112881 which prevents dart:io from opening a file larger than INT_MAX bytes on windows.
    
    For files that are not exactly a dart:io file, we still use the old method of calling loadBytes() in order to not make this a breaking change.
    c0129046
Name
Last commit
Last update
..
src Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
fix_data.yaml Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...