Unverified Commit 79556e5f authored by Anna Henningsen's avatar Anna Henningsen Committed by Michaël Zasso
Browse files

src: allow UTF-16 in generic StringBytes decode call

This allows removing a number of special cases in other
parts of the code, at least one of which was incorrect
in expecting aligned input when that was not guaranteed.

Fixes: https://github.com/nodejs/node/issues/22358

PR-URL: https://github.com/nodejs/node/pull/22622


Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent 45388f75
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment