title: How can I read data from USB?
body: <p>I got a question:
  I found the libusb library for java, but I really don't understand how to read some data. There is a method called readBulk() or readInterrupt, but they have an int as return type.I don't know how to store the data, because the method only returns the actual number of bytes ,which the method had read. In the CommPort class supports a method called getInputStream(), this method uses an InputStream as return type and so I can do something with that data.</p>