1 // Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
2 // This Source Code Form is subject to the terms of the Mozilla Public
3 // License, v. 2.0. If a copy of the MPL was not distributed with this
4 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 
6 #ifndef VSOMEIP_V3_SD_DESERIALIZER_HPP
7 #define VSOMEIP_V3_SD_DESERIALIZER_HPP
8 
9 #include "../../message/include/deserializer.hpp"
10 
11 namespace vsomeip_v3 {
12 namespace sd {
13 
14 class message_impl;
15 
16 class deserializer
17         : public vsomeip_v3::deserializer {
18 public:
19     deserializer(std::uint32_t _shrink_buffer_threshold);
20     deserializer(uint8_t *_data, std::size_t _length,
21                  std::uint32_t _shrink_buffer_threshold);
22     deserializer(const deserializer &_other);
23     virtual ~deserializer();
24 
25     message_impl * deserialize_sd_message();
26 };
27 
28 } // namespace sd
29 } // vsomeip_v3
30 
31 #endif // VSOMEIP_V3_SD_DESERIALIZER_HPP
32