public override void WriteBinHex( byte[] buffer, int index, int count ) { try { AutoComplete( Token.Content ); BinHexEncoder.Encode( buffer, index, count, this ); } catch { currentState = State.Error; throw; } }
public override string ToString() { StringWriter sw = new StringWriter(); XmlTextWriter tw = new XmlTextWriter(sw); tw.WriteBinHex(BinaryValue, 0, BinaryValue.Length); tw.Close(); return sw.ToString(); }