| 1170 | }; |
| 1171 | |
| 1172 | template <typename Type> void putByte (Type n) { pending_buf[pending++] = static_cast<uint8_t> (n); } |
| 1173 | template <typename Type> void putInt16 (Type n) { putByte (static_cast<uint16_t> (n)); putByte (static_cast<uint16_t> (n) >> 8); } |
| 1174 | template <typename Type> void putInt32 (Type n) { putInt16 (static_cast<uint32_t> (n)); putInt16 (static_cast<uint32_t> (n) >> 16); } |
| 1175 | template <typename Type> void putInt16MSB (Type n) { putByte (static_cast<uint16_t> (n) >> 8); putByte (static_cast<uint16_t> (n)); } |
nothing calls this directly
no outgoing calls
no test coverage detected