System.Xml.XmlRawWriter.WriteBase64 C# (CSharp) Method

WriteBase64() public method

public WriteBase64 ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
return void
        public override void WriteBase64( byte[] buffer, int index, int count ) {
            if ( base64Encoder == null ) {
                base64Encoder = new XmlRawWriterBase64Encoder( this );
            }
            // Encode will call WriteRaw to write out the encoded characters
            base64Encoder.Encode( buffer, index, count );
        }

Usage Example

示例#1
0
 public override void WriteBase64(byte[] buffer, int index, int count)
 {
     EnsureWrappedWriter(XmlOutputMethod.Xml);
     _wrapped.WriteBase64(buffer, index, count);
 }