node-dbus icon indicating copy to clipboard operation
node-dbus copied to clipboard

Returning an variant array of bytes

Open bard3307 opened this issue 10 years ago • 1 comments

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?

bard3307 avatar Apr 20 '15 21:04 bard3307

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?

mkrufky avatar Apr 15 '16 22:04 mkrufky