Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StringToHexBinary()

static byte[] System.Xml.Schema.XmlBaseConverter.StringToHexBinary ( string value)
inlinestaticprotectedinherited

Definition at line 564 of file XmlBaseConverter.cs.

565 {
566 try
567 {
568 return XmlConvert.FromBinHexString(XmlConvert.TrimString(value), allowOddCount: false);
569 }
570 catch (XmlException ex)
571 {
572 throw new FormatException(ex.Message);
573 }
574 }

References System.Xml.Dictionary, System.Xml.XmlConvert.FromBinHexString(), System.Xml.XmlConvert.TrimString(), and System.value.

Referenced by System.Xml.Schema.XmlMiscConverter.ChangeType(), and System.Xml.Schema.XmlMiscConverter.ChangeType().