Is there are way, through the JavaScriptCore C API, to create an ArrayBuffer
and define its contents via a single memory copy, i.e. memcpy()? I could
probably create a DataView, and then use
setUint8<https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView#setUint8>
to
manually copy each character of the buffer, but the whole idea is I want to
have the least amount of overhead in transferring large amounts of data
between c and javascript.
Thanks,
Anthony Johnson
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to