FrameGetNextDataWithFixedLength Method

Extract the length bytes from the beginning of rawData ad deletes it from rawData.

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 ByteBuffer GetNextDataWithFixedLength(
	ByteBuffer rawData,
	ref int index,
	int length,
	string additionalInfo = ""
)

Parameters

rawData  ByteBuffer
index  Int32
Index in rawData.
length  Int32
Length in bytes
additionalInfo  String  (Optional)

Return Value

ByteBuffer

See Also