FrameMoveToNextDataWithVariableLength Method

Byte at index position evaluates as tag and next bytes as variable length of following data and moves index at the beginning of this data.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public static byte MoveToNextDataWithVariableLength(
	ByteBuffer data,
	ref int index,
	out int nextDataLength
)

Parameters

data  ByteBuffer
index  Int32
nextDataLength  Int32
Length of following data

Return Value

Byte
Tag of the data.

See Also