Show / Hide Table of Contents

Method WriteAsync

| Edit this page View Source

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.

Declaration
public override 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

Overrides
NmeaDevice.WriteAsync(byte[], int, int)
See Also
CanWrite

Applies to

Platforms and versions
TargetVersions
.NET Windowsmain
UWPmain
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX