| Deepak Kodihalli | 35c7fb1 | 2016-11-21 04:32:44 -0600 | [diff] [blame^] | 1 | #pragma once |
| 2 | |||||
| 3 | #include <climits> | ||||
| 4 | #include <vector> | ||||
| 5 | |||||
| 6 | namespace openpower | ||||
| 7 | { | ||||
| 8 | namespace vpd | ||||
| 9 | { | ||||
| 10 | |||||
| 11 | /** @brief The OpenPOWER VPD, in binary, is specified as a | ||||
| 12 | * sequence of characters */ | ||||
| 13 | static_assert((8 == CHAR_BIT), "A byte is not 8 bits!"); | ||||
| 14 | using Byte = uint8_t; | ||||
| 15 | using Binary = std::vector<Byte>; | ||||
| 16 | |||||
| 17 | } // namespace vpd | ||||
| 18 | } // namespace openpower | ||||