Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReadContentAsBase64() [3/3]

byte[] System.Xml.XmlDictionaryReader.ReadContentAsBase64 ( int maxByteArrayContentLength,
int maxInitialCount )
inlinepackageinherited

Definition at line 734 of file XmlDictionaryReader.cs.

735 {
737 {
738 byte[] array = new byte[length];
739 int num;
740 for (int i = 0; i < length; i += num)
741 {
742 num = ReadContentAsBase64(array, i, length - i);
743 if (num == 0)
744 {
745 XmlExceptionHelper.ThrowBase64DataExpected(this);
746 }
747 }
748 return array;
749 }
751 }
virtual bool TryGetBase64ContentLength(out int length)
byte[] ReadContentAsBytes(bool base64, int maxByteArrayContentLength)

References System.array, System.Xml.Dictionary, System.length, System.Xml.XmlDictionaryReader.ReadContentAsBase64(), System.Xml.XmlDictionaryReader.ReadContentAsBytes(), System.Xml.XmlExceptionHelper.ThrowBase64DataExpected(), and System.Xml.XmlDictionaryReader.TryGetBase64ContentLength().