You need to sign in or sign up before continuing.
buffer: properly retrieve binary length of needle
If the needle contains an extended latin-1 character then using String::Utf8Length() will be too large and the search will return early. Instead use String::Length() when encoding is BINARY. PR-URL: https://github.com/nodejs/node/pull/4803 Reviewed-By:James M Snell <jasnell@gmail.com>
parent
7240ad44
Please register or sign in to comment