| 205 | } |
| 206 | |
| 207 | int16_t BinaryContainer::readInt16(size_type offset) const |
| 208 | { |
| 209 | std::vector<uint8_t> data = read(offset, 2); |
| 210 | return static_cast<int16_t>(data[0] | (data[1] << 8)); |
| 211 | } |
| 212 | |
| 213 | uint16_t BinaryContainer::readUint16(size_type offset) const |
| 214 | { |