![]() | PipeStreamReadUseShortPacket Property |
Namespace: WinUsbNet
true if a short packet will terminate a read transfer; otherwise false.
Exception | Condition |
---|---|
NotSupportedException | The PipeStream does not support reading. |
If the ReadUseShortPacket property is true, then a short packet received from the USB device will terminate a Read or ReadByte in progress.
If the ReadUseShortPacket property is false, then a short packet will not terminate the read transfer. The transfer will continue until the number of bytes requested has been received or the time limit specifed by ReadTimeout has been reached.