Edit

Share via


CanRaw.TryReadFrame(Span<Byte>, Int32, CanId) Method

Definition

Reads frame from the bus

public bool TryReadFrame (Span<byte> data, out int frameLength, out Iot.Device.SocketCan.CanId id);
member this.TryReadFrame : Span<byte> * int * CanId -> bool
Public Function TryReadFrame (data As Span(Of Byte), ByRef frameLength As Integer, ByRef id As CanId) As Boolean

Parameters

data
Span<Byte>

Data where output data should be written to

frameLength
Int32

Length of the data read

id
CanId

Recipient identifier

Returns

Applies to