Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed decoding hex & base64 from two bytes external strings
Strings in DOM may be converted to two bytes representation, which should be processed as array of `uint16_t` when decoding hex or base64. base64 decoding in Node.js can fallback to a slow implementation to skip invalid characters (i.e. `\0` in this case). This patch can also keep base64 decoding running under the fast implementation. fixed nwjs/nw.js#5069
- Loading branch information