This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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