summaryrefslogtreecommitdiffstats
path: root/include/plist/Structure.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plist/Structure.h')
-rw-r--r--include/plist/Structure.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/plist/Structure.h b/include/plist/Structure.h
index d85b17a..b7fbdb5 100644
--- a/include/plist/Structure.h
+++ b/include/plist/Structure.h
@@ -44,6 +44,8 @@ public :
static Structure* FromXml(const std::string& xml);
static Structure* FromBin(const std::vector<char>& bin);
static Structure* FromBin(const char* bin, uint64_t size);
+ static Structure* FromMemory(const std::vector<char>& buf, plist_format_t* format = NULL);
+ static Structure* FromMemory(const char* buf, uint64_t size, plist_format_t* format = NULL);
protected:
Structure(Node* parent = NULL);