Closed Bug 649528 Opened 13 years ago Closed 13 years ago

File read functionality should support binary files

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mgalli, Assigned: mgalli)

Details

This is an enhancement request to the require("file") API: 

packages/api-utils/lib/file.js

The use case is when the developer wants to read a file that is provided in binary form and not the textual form. Currently the read only supports text mode.
OS: Mac OS X → All
Hardware: x86 → All
Thanks for the patch.  I made some comments on the pull request.  r+ with those addressed.
Assignee: nobody → mgalli
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.