BerEncodingGetVariableLength Method
Extract variable length using ISO/IEC 8825 (BER encoding) from the beginning og rawData and deletes it from rawData.
Length stored max in 3 bytes is supported.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static int GetVariableLength(
ByteBuffer rawData,
ref int index
)
- rawData ByteBuffer
- Data returned by a meter to parse.
- index Int32
- Index in rawData to start.
Int32