This event will be fired to all listeners for all data that is transferred over the pipe.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | UsbPipeDataEvent(UsbPipe
The UsbPipe. source, byte[] The data. d, int The actual length of data transferred. aL)Constructor. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public byte[] |
| actualLength | back to summary |
|---|---|
| private int actualLength | |
| data | back to summary |
|---|---|
| private byte[] data | |
| UsbPipeDataEvent | back to summary |
|---|---|
| public UsbPipeDataEvent(UsbPipe source, byte[] d, int aL) Constructor. This should only be used if there is no UsbIrp associated with this event.
| |
| UsbPipeDataEvent | back to summary |
|---|---|
| public UsbPipeDataEvent(UsbPipe source, UsbIrp uI) Constructor. | |
| getActualLength | back to summary |
|---|---|
| public int getActualLength() Get the actual length.
| |
| getData | back to summary |
|---|---|
| public byte[] getData() Get the data. If there is an associated UsbIrp, this returns a new byte[] containing only the actual transferred data. If there is no associated UsbIrp, this returns the actual data buffer used.
| |