| 39 | } |
| 40 | |
| 41 | uint32_t ReadLe32(const std::vector<uint8_t>& bytes, size_t offset) |
| 42 | { |
| 43 | return static_cast<uint32_t>(bytes[offset]) | |
| 44 | (static_cast<uint32_t>(bytes[offset + 1U]) << 8U) | |
| 45 | (static_cast<uint32_t>(bytes[offset + 2U]) << 16U) | |
| 46 | (static_cast<uint32_t>(bytes[offset + 3U]) << 24U); |
| 47 | } |
| 48 | |
| 49 | int32_t ReadLeS32(const std::vector<uint8_t>& bytes, size_t offset) |
| 50 | { |