FrameGetNextDataWithFixedLength Method
Extract the length bytes from the beginning of rawData ad deletes it from rawData.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static ByteBuffer GetNextDataWithFixedLength(
ByteBuffer rawData,
ref int index,
int length,
string additionalInfo = ""
)
- rawData ByteBuffer
- index Int32
- Index in rawData.
- length Int32
- Length in bytes
- additionalInfo String (Optional)
ByteBuffer