Hello! Gears API lets me open a file on the client computer (through the desktop interface), read it into a blob, cache the blob in the localstore, and then let the user "download" it by providing the url.
What I can't figure out is how I can process the data without a server round-trip: let's say I want to compress the file using my own compression algorithm, or look up keywords, whatever. There's no security issues here: I can upload a file to the server, do whatever I want there, and then let the user download it, and the browser will let me do that. But how can I do the same thing without a server round- trip? I thought that Gears API is designed to let me do things like that offline, but I can't figure out the way. Is there a BlobToString function? Or a way to cast 4 bytes of a blob to an int (and back)? Thanks, MG
