diff options
| author | 2024-05-13 19:38:22 +0200 | |
|---|---|---|
| committer | 2024-05-13 19:38:22 +0200 | |
| commit | 1327c87bf92f1d51286e3172c1047a8a47c5ee3a (patch) | |
| tree | 8edf522f2d5b749027810c73b55270a3d3477dc3 /include/plist/Data.h | |
| parent | 06877b5ecb9704baded1160a149912fad8141a39 (diff) | |
| download | libplist-1327c87bf92f1d51286e3172c1047a8a47c5ee3a.tar.gz libplist-1327c87bf92f1d51286e3172c1047a8a47c5ee3a.tar.bz2 | |
Revert "Change API around #PLIST_DATA to use uint8_t instead of char arrays"
This reverts commit a91f5740d100414a76959714b819422ee5b2d8a8.
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 3f1c329..b566a6c 100644 --- a/include/plist/Data.h +++ b/include/plist/Data.h | |||
| @@ -35,13 +35,13 @@ public : | |||
| 35 | Data(plist_t node, Node* parent = NULL); | 35 | Data(plist_t node, Node* parent = NULL); |
| 36 | Data(const Data& d); | 36 | Data(const Data& d); |
| 37 | Data& operator=(const Data& b); | 37 | Data& operator=(const Data& b); |
| 38 | Data(const std::vector<uint8_t>& buff); | 38 | Data(const std::vector<char>& buff); |
| 39 | virtual ~Data(); | 39 | virtual ~Data(); |
| 40 | 40 | ||
| 41 | Node* Clone() const; | 41 | Node* Clone() const; |
| 42 | 42 | ||
| 43 | void SetValue(const std::vector<uint8_t>& buff); | 43 | void SetValue(const std::vector<char>& buff); |
| 44 | std::vector<uint8_t> GetValue() const; | 44 | std::vector<char> GetValue() const; |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | }; | 47 | }; |
