WebUSB API
The transferOut() method of the USBDevice
interface returns a Promise that resolves with a
USBOutTransferResult when bulk or interrupt data is sent to the USB
device.
Syntax
transferOut(endpointNumber, data)
Parameters
endpointNumber- : The number of a device-specific endpoint (buffer).
data- : A TypedArray containing the data to send to the device.
Return value
A Promise that resolves with a USBOutTransferResult.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
