Class StreamDevice
Generic stream device
Implements
Inherited Members
Namespace: NmeaParser
Assembly: NmeaParser.dll
Syntax
public class StreamDevice : NmeaDevice, IDisposable
Constructors
Name | Description |
---|---|
StreamDevice(Stream) | Initializes a new instance of the StreamDevice class. |
Properties
Name | Description |
---|---|
CanWrite | Gets a value indicating whether this device supports writing |
Methods
Name | Description |
---|---|
CloseStreamAsync(Stream) | Closes the stream the NmeaDevice is working on top off. |
Dispose(bool) | Releases unmanaged and - optionally - managed resources. |
OpenStreamAsync() | Creates and opens the stream the NmeaDevice is working on top off. |
WriteAsync(byte[], int, int) | Writes to the device stream. Useful for transmitting RTCM corrections to the device Check the CanWrite property before calling this method. |
Applies
Target | Versions |
---|---|
.NET Standard 2.0 | main, v3.0, v2.2, v2.1, v2.0 |
.NET | main, v3.0 |
.NET Windows | main, v3.0 |
.NET Android | main, v3.0 |
.NET iOS | main, v3.0 |
.NET Framework | main, v3.0, v2.2, v2.1, v2.0 |
UWP | main, v3.0, v2.2, v2.1, v2.0 |
Xamarin.Android | v2.2, v2.1, v2.0 |
Xamarin.iOS | v2.2, v2.1, v2.0 |