BerEncodingCreateVariableLength Method
Creates the variable length according to ISO/IEC 8825 (BER encoding). Maximum supported number of bytes for storing the length is 3.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static ByteBuffer CreateVariableLength(
int length
)
- length Int32
- Length to encode: 0 to 0x00FFFFFF.
ByteBuffer