karalabe / hid

Gopher Interface Devices (USB HID)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows: Write reports one more byte written

dolmen opened this issue · comments

Write on Windows reports one more byte written than asked for.

Internally, this is because a 0x00 byte is prepended to the data.

However:

  • this is not documented
  • this platform specific difference breaks the platform abstraction that this package is supposed to provide