| 199 | } |
| 200 | |
| 201 | uint32_t read_le32() |
| 202 | { |
| 203 | uint8_t b1 = _bytes[pos++]; |
| 204 | uint8_t b2 = _bytes[pos++]; |
| 205 | uint8_t b3 = _bytes[pos++]; |
| 206 | uint8_t b4 = _bytes[pos++]; |
| 207 | return (b4 << 24) | (b3 << 16) | (b2 << 8) | b1; |
| 208 | } |
| 209 | |
| 210 | private: |
| 211 | const Bytes& _bytes; |
no outgoing calls