webusb icon indicating copy to clipboard operation
webusb copied to clipboard

Add correct bytesWritten in transferOut statuses

Open thegecko opened this issue 7 years ago • 0 comments

The controlTransferOut() and transferOut() methods should return the count of actual bytes written. Instead, bytesWritten is being set to the same length as the buffer being written as node-usb doesn't return the information.

To fix this, the actual value needs to be exposed in node-usb.

thegecko avatar Jan 16 '18 09:01 thegecko