[v8-users] Re: Binary data in ExternalAsciiStringResource

2009-09-09 Thread ryan dahl
> I don't think I can add much to > http://groups.google.com/group/v8-dev/browse_thread/thread/dba28a81d9215291/ece2b50a3b4022c The difference would be that the object would be inside a string instead of an opaque object. For things like HTTP upload requests, where one needs to parse both ascii h

[v8-users] Re: Binary data in ExternalAsciiStringResource

2009-09-09 Thread Erik Corry
2009/9/9 ryan dahl : > > On Tue, Sep 8, 2009 at 8:20 PM, Erik Corry wrote: >> What you are looking for is Blob support, which is not done: >> http://code.google.com/p/v8/issues/detail?id=270 > > It seems this would be a simpler way importing binary data into > javascript. Is there any fundamental

[v8-users] Re: Binary data in ExternalAsciiStringResource

2009-09-08 Thread ryan dahl
On Tue, Sep 8, 2009 at 8:20 PM, Erik Corry wrote: > What you are looking for is Blob support, which is not done: > http://code.google.com/p/v8/issues/detail?id=270 It seems this would be a simpler way importing binary data into javascript. Is there any fundamental reason why it can't be done this

[v8-users] Re: Binary data in ExternalAsciiStringResource

2009-09-08 Thread Erik Corry
2009/9/8 ryan dahl : > Hello - > > I am trying to store binary in a string by using an > ExternalAsciiStringResource. There is a problem with values over 127. You are breaking the contract by putting non-ASCII in an ASCII string. There are multiple places in the code where we assume that this is