node-dbus
node-dbus copied to clipboard
Returning an variant array of bytes
I'm writing a service to field a method call from an outside source. The other source expects its reply to be a dictionary of {String, Variant}, but it requires a variant Array of Bytes. Passing back TypeArrays and buffers in Javascript doesn't work as they appear in DBus as Array[variant byte] which causes the other program to error. Is there any way to return a variant array of bytes?
I am interested in your issue, and I think it might have possibly been resolved by a recent change in the master branch. I realize it's been a year - is this still relevant to you? Would you be willing to retest?