mirror of https://github.com/AxioDL/tinyxml2.git
add a method to help get the size of the XML file in memory
This commit is contained in:
parent
a2ae54e40d
commit
e01e786883
|
@ -1371,6 +1371,10 @@ public:
|
||||||
the XML file in memory.
|
the XML file in memory.
|
||||||
*/
|
*/
|
||||||
const char* CStr() const { return buffer.Mem(); }
|
const char* CStr() const { return buffer.Mem(); }
|
||||||
|
/**
|
||||||
|
Return the size of the XML file in memory
|
||||||
|
*/
|
||||||
|
const int SizeOfCStr()const{ return buffer.Size(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SealElement();
|
void SealElement();
|
||||||
|
|
Loading…
Reference in New Issue