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
示例#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());
 }
示例#2
0
 private static void GetOctetString(XmlNode node, GXDLMSXmlSettings s)
 {
     GXByteBuffer bb = new GXByteBuffer();
     bb.SetHexString(GetValue(node, s));
     GXCommon.SetData(s.settings, s.data, DataType.OctetString, bb.Array());
 }