Fix wrong implementation about encoding & decoding bundle raw
[platform/core/base/bundle.git] / src / bundle-internal.h
index c79fed4..73f55d0 100644 (file)
@@ -70,6 +70,8 @@ class Bundle {
   int GetType(const std::string& key);
 
   unsigned char* Encode();
+  unsigned char* EncodeRaw(int* size);
+  int DecodeRaw(unsigned char* raw, int size);
   const std::map<std::string, std::shared_ptr<KeyInfo>>& GetMap();
   std::vector<std::string> Export();