mono / dbus-sharp

DBus Sharp
http://mono.github.com/dbus-sharp
MIT License
77 stars 59 forks source link

Fix reading structs of primitives #52

Closed steffen-kiess closed 7 years ago

steffen-kiess commented 8 years ago

The length argument for DirectCopy() is in bytes, not in number of elements, therefore DirectCopy() must not multiply length with the field size.

garuma commented 7 years ago

Fixed in master. Thanks!