Please sign in to comment.
Don't let v8::String::Utf8Write() append '\0' to the output buffer.
v8::String::Utf8Write() appends '\0' if there is room left in the output buffer. Pass in the exact decoded length obtained with v8::String::Utf8Length() to make it stop doing that. Fixes #394.
- Loading branch information...