Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buffer: stricter isEncoding
Due to code consolidation in #7207 the isEncoding function got less strict. This commit makes sure isEncoding returns false for empty strings as before the consolidation. PR-URL: #18790 Refs: #7207 Reviewed-By: James M Snell <firstname.lastname@example.org> Reviewed-By: Benjamin Gruenbaum <email@example.com> Reviewed-By: Matteo Collina <firstname.lastname@example.org>
- Loading branch information