ReadElementContentAsBase64()

XmlValidatingReader::ReadElementContentAsBase64(ArrayPtr<uint8_t>, int32_t, int32_t) method

Reads the element and decodes the Base64 content.

int32_t System::Xml::XmlValidatingReader::ReadElementContentAsBase64(ArrayPtr<uint8_t> buffer, int32_t index, int32_t count) override

Arguments

ParameterTypeDescription
bufferArrayPtr<uint8_t>The buffer into which to copy the resulting text. This value cannot be nullptr.
indexint32_tThe offset into the buffer where to start copying the result.
countint32_tThe maximum number of bytes to copy into the buffer. The actual number of bytes copied is returned from this method.

Return Value

The number of bytes written to the buffer.

See Also