Pn5180.GetNumberOfBytesReceivedAndValidBits Method

Definition

Get the number of bytes to read and the valid number of bits in the last byte If the full byte is valid then the value of the valid bit is 0

public (int bytes, int validBits) GetNumberOfBytesReceivedAndValidBits ();
public (int Bytes, int ValidBits) GetNumberOfBytesReceivedAndValidBits ();
member this.GetNumberOfBytesReceivedAndValidBits : unit -> ValueTuple<int, int>
Public Function GetNumberOfBytesReceivedAndValidBits () As ValueTuple(Of Integer, Integer)

Returns

A tuple whit the number of bytes to read and the number of valid bits in the last byte. If all bits are valid, then the value of valid bits is 0

Applies to