Method WriteAsync
| Edit this page View SourceWriteAsync(byte[], int, int)
Writes to the device stream. Useful for transmitting RTCM corrections to the device Check the CanWrite property before calling this method.
Declaration
public virtual Task WriteAsync(byte[] buffer, int offset, int length)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | buffer | The byte array that contains the data to write to the port. |
| int | offset | The zero-based byte offset in the buffer parameter at which to begin copying bytes to the port. |
| int | length | The number of bytes to write. |
Returns
| Type | Description |
|---|---|
| Task | Task |
See Also
Applies to
Platforms and versions
| 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 |