WriteBinHex()
XmlTextWriter::WriteBinHex(ArrayPtr<uint8_t>, int32_t, int32_t) method
Encodes the specified binary bytes as binhex and writes out the resulting text.
void System::Xml::XmlTextWriter::WriteBinHex(ArrayPtr<uint8_t> buffer, int32_t index, int32_t count) override
Arguments
| Parameter | Type | Description |
|---|
| buffer | ArrayPtr<uint8_t> | Byte array to encode. |
| index | int32_t | The position in the buffer indicating the start of the bytes to write. |
| count | int32_t | The number of bytes to write. |
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | buffer is nullptr. |
| ArgumentException | The buffer length minus index is less than count. |
| ArgumentOutOfRangeException | index or count is less than zero. |
| InvalidOperationException | The XmlTextWriter::get_WriteState value is WriteState::Closed. |
See Also