ReadBinHex()
Contents
[
Hide
]XmlTextReader::ReadBinHex(const ArrayPtr<uint8_t>&, int32_t, int32_t) method
Decodes BinHex and returns the decoded binary bytes.
int32_t System::Xml::XmlTextReader::ReadBinHex(const ArrayPtr<uint8_t> &array, int32_t offset, int32_t len)
Arguments
| Parameter | Type | Description |
|---|---|---|
| array | const ArrayPtr<uint8_t>& | The byte array that serves as the buffer to which the decoded binary bytes are written. |
| offset | int32_t | The zero-based index into the array specifying where the method can begin to write to the buffer. |
| len | int32_t | The number of bytes to write into the buffer. |
Return Value
The number of bytes written to your buffer.
Exceptions
| Exception | Description |
|---|---|
| XmlException | The BinHex sequence is not valid. |
| ArgumentNullException | The value of array is nullptr. |
| ArgumentOutOfRangeException | offset < 0, or len < 0, or len > array.get_Length - offset. |
See Also
- Typedef ArrayPtr
- Class XmlTextReader
- Namespace System::Xml
- Library Aspose.Slides