Skip to content
Commit e2872de0 authored by Philip Chimento's avatar Philip Chimento
Browse files

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
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