XdmWriter.WriteBase64 MethodXdmWriter.WriteBase64 MethodXdmWriter::WriteBase64 Method
Eencodes the specified binary bytes as Base64 and writes out the resulting text.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Parameters
- buffer
Type: System.Byte[]System.Byte()
array
<System::Byte>^Byte array to encode.
- index
Type: System.Int32System.Int32System::Int32
The position in the buffer indicating the start of the bytes to write.
- count
Type: System.Int32System.Int32System::Int32
The number of bytes to write.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | buffer is null. |
ArgumentExceptionArgumentExceptionArgumentException | The buffer length minus index is less than count. |
ArgumentOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentOutOfRangeException | index or count is less than zero. |