System.Xml.XmlTextWriter.WriteBinHex C# (CSharp) Method

WriteBinHex() public method

public WriteBinHex ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
return void
        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;
            }
        }

Usage Example

Example #1
0
 public override string ToString()
 {
     StringWriter sw = new StringWriter();
     XmlTextWriter tw = new XmlTextWriter(sw);
     tw.WriteBinHex(BinaryValue, 0, BinaryValue.Length);
     tw.Close();
     return sw.ToString();
 }
All Usage Examples Of System.Xml.XmlTextWriter::WriteBinHex