Skip to content

Commit

Permalink
Update File.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeGuyWhoLovesCoding authored Sep 10, 2024
1 parent 22847ae commit cbadeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/cpp/_std/sys/io/File.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class File {
}

public static function getBytes(path:String):haxe.io.Bytes {
var data = NativeFile.file_contents_bytes(path, pos, len);
var data = NativeFile.file_contents_bytes(path);
return haxe.io.Bytes.ofData(data);
}

Expand Down

0 comments on commit cbadeec

Please sign in to comment.