API Reference / @gtkx/runtime / ByteArray
Type Alias: ByteArray
ByteArray =
ReturnType<GLib.Bytes["unrefToArray"]>
Defined in: packages/runtime/dist/variant.d.ts:39
JavaScript type a byte array (ay) unpacks to: the same one the generated bindings use for byte sequences, so a Uint8Array under the v2ByteArrays future flag and a number[] otherwise.