A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/USBDevice/transferIn below:

USBDevice: transferIn() method - Web APIs

USBDevice: transferIn() method

Limited availability

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is available in Web Workers.

The transferIn() method of the USBDevice interface returns a promise that resolves with a USBInTransferResult when bulk or interrupt data is received from the USB device.

Syntax
transferIn(endpointNumber, length)
Parameters
endpointNumber

The number of a device-specific endpoint (buffer).

length

The maximum number of bytes that will be read back from the device. The actual data is in the USBInTransferResult in the resolved Promise.

Return value

A promise that resolves with a USBInTransferResult.

Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4