diff options
author | Nikias Bassen | 2024-04-14 18:19:14 +0200 |
---|---|---|
committer | Nikias Bassen | 2024-04-14 18:19:14 +0200 |
commit | a91f5740d100414a76959714b819422ee5b2d8a8 (patch) | |
tree | 087400da3ed5af11ef1f4806ffc58a9a3a090323 /include/plist/Data.h | |
parent | 612cdf3ffd3e8c200e4a21ec15e3b3f0af170b42 (diff) | |
download | libplist-a91f5740d100414a76959714b819422ee5b2d8a8.tar.gz libplist-a91f5740d100414a76959714b819422ee5b2d8a8.tar.bz2 |
Change API around #PLIST_DATA to use uint8_t instead of char arrays
This makes it more obvious that it is arbitrary data and not necessarily
a string value.
Diffstat (limited to 'include/plist/Data.h')
-rw-r--r-- | include/plist/Data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/plist/Data.h b/include/plist/Data.h index b566a6c..3f1c329 100644 --- a/include/plist/Data.h +++ b/include/plist/Data.h @@ -35,13 +35,13 @@ public : Data(plist_t node, Node* parent = NULL); Data(const Data& d); Data& operator=(const Data& b); - Data(const std::vector<char>& buff); + Data(const std::vector<uint8_t>& buff); virtual ~Data(); Node* Clone() const; - void SetValue(const std::vector<char>& buff); - std::vector<char> GetValue() const; + void SetValue(const std::vector<uint8_t>& buff); + std::vector<uint8_t> GetValue() const; }; }; |