projects
/
platform
/
core
/
base
/
bundle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix wrong implementation about encoding & decoding bundle raw
[platform/core/base/bundle.git]
/
src
/
bundle-internal.h
diff --git
a/src/bundle-internal.h
b/src/bundle-internal.h
index
c79fed4
..
73f55d0
100644
(file)
--- a/
src/bundle-internal.h
+++ b/
src/bundle-internal.h
@@
-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();