Closed brendonparker closed 3 years ago
Fixes issue #199 If the device returns a write buffer length of zero, the FileStream is openned with a writeBufferSize of zero which throws
writeBufferSize
System.ArgumentOutOfRangeException "Positive number required"
This change will return Stream.Null in that scenario.
Stream.Null
Closing PR, as suggested fix isn't acceptable
Fixes issue #199 If the device returns a write buffer length of zero, the FileStream is openned with a
writeBufferSize
of zero which throwsThis change will return
Stream.Null
in that scenario.