## XmlTextWriter::WriteBase64 method


Encodes the specified binary bytes as base64 and writes out the resulting text.

```cpp
void System::Xml::XmlTextWriter::WriteBase64(ArrayPtr<uint8_t> buffer, int32_t index, int32_t count) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| buffer | ArrayPtr\<uint8_t\> | [Byte](../../../system/byte/) array to encode. |
| index | int32_t | The position within the buffer indicating the start of the bytes to write. |
| count | int32_t | The number of bytes to write. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [XmlTextWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
