byteArray: Fix crash with 0-length string
Similar to the bug fixed in the previous commit, going through the non-UTF-8 path of ByteArray.fromString() with a zero-length string would crash. Create an empty Uint8Array here as well.
parent
1a71d5b0
Please register or sign in to comment