Gurux.DLMS.GXByteBuffer.SetHexString C# (CSharp) Method

SetHexString() public method

Push the given hex string as byte array into this buffer at the current position, and then increments the position.
public SetHexString ( int index, string value ) : void
index int Byte index.
value string The hex string to be added.
return void
        public void SetHexString(int index, string value)
        {
            Set(index, Gurux.DLMS.Internal.GXCommon.HexToBytes(value));
        }

Same methods

GXByteBuffer::SetHexString ( string value ) : void
GXByteBuffer::SetHexString ( string value, int index, int count ) : void

Usage Example

Esempio n. 1
0
 private static void GetFloat64(XmlNode node, GXDLMSXmlSettings s)
 {
     GXByteBuffer bb = new GXByteBuffer();
     bb.SetHexString(GetValue(node, s));
     GXCommon.SetData(s.settings, s.data, DataType.Float64, bb.GetDouble());
 }
All Usage Examples Of Gurux.DLMS.GXByteBuffer::SetHexString