ReadContentAsBase64()

XmlReader::ReadContentAsBase64(ArrayPtr<uint8_t>, int32_t, int32_t) method

Reads the content and returns the Base64 decoded binary bytes.

virtual int32_t System::Xml::XmlReader::ReadContentAsBase64(ArrayPtr<uint8_t> buffer, int32_t index, int32_t count)

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