string_bytes: write strings using new API
authorTrevor Norris <trev.norris@gmail.com>
Tue, 11 Jun 2013 21:30:16 +0000 (14:30 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 12 Jun 2013 21:43:37 +0000 (14:43 -0700)
commite92f4879eb6c21d66ceaa819ae8f045226b74a3e
tree04cf51a5dad4c3e32352b076dae397d071b25e2e
parent642ea2b668c12773c371b333926ccc10070ef2cb
string_bytes: write strings using new API

StringBytes::Write now uses new v8 API and also does preliminary check
if the string is external, then will use external memory instead.
src/string_bytes.cc
test/simple/test-stringbytes-external.js [new file with mode: 0644]