javax.usb
Interface UsbDescriptor

All Known Subinterfaces:
UsbConfigurationDescriptor, UsbDeviceDescriptor, UsbEndpointDescriptor, UsbInterfaceDescriptor, UsbStringDescriptor
All Known Implementing Classes:
UsbConfigurationDescriptorImp, UsbDescriptorImp, UsbDeviceDescriptorImp, UsbEndpointDescriptorImp, UsbInterfaceDescriptorImp, UsbStringDescriptorImp

public interface UsbDescriptor

Interface for a USB descriptor.

Author:
Dan Streetman

Method Summary
 byte bDescriptorType()
          Get this descriptor's bDescriptorType.
 byte bLength()
          Get this descriptor's bLength.
 

Method Detail

bLength

byte bLength()
Get this descriptor's bLength.

Returns:
This descriptor's bLength.
See Also:
This is unsigned.

bDescriptorType

byte bDescriptorType()
Get this descriptor's bDescriptorType.

Returns:
This descriptor's bDescriptorType.
See Also:
This is unsigned.