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

byteArray: Fix crash with 0-length GLib.Bytes

ByteArray.fromGBytes() would crash if the GLib.Bytes had zero length.
Anticipate this case and just create an empty Uint8Array.
parent 1639d90f
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