HI Andrei,

I suppose that a Database could work as well.  I imagine that I would
store my bytearray as a Blob into the GearsDatabase and then access it
using the standard sqlite result set.  Does the blob datatype allow
for binary data?  Does accessing it via the ResultSet maintain the
binary representation?

Thanks
Dave


On Dec 17, 12:00 pm, Andrei Popescu <[email protected]>
wrote:
> On Dec 17, 5:44 pm, dviner <[email protected]> wrote:
>
> > Is there a way to create a GearsBlob object from a javascript variable
> > within javascript?
>
> > I have a bytearray that is constructed in javascript, and want to
> > store it into my localstore using captureAsBlob... but that interface
> > appears to require a Blob object, not just a bytearray.
>
> Is there any particular reason why you want to store it in the
> LocalServer? You could store it in a database instead.
>
> Andrei

Reply via email to