[XDBF] Added support for reading compressed XLast XML file

To decompress it we need gzip and then some library for XML to read it
This commit is contained in:
Gliniak
2024-01-10 22:03:27 +01:00
parent d6c9566c69
commit 49d44600e8
2 changed files with 30 additions and 0 deletions

View File

@@ -196,6 +196,8 @@ class XdbfWrapper {
XdbfPropertyBag GetMatchCollection() const;
const uint8_t* ReadXLast(uint32_t& compressed_size, uint32_t& decompressed_size) const;
private:
const uint8_t* data_ = nullptr;
size_t data_size_ = 0;