| 261 | *****************************************************************************/ |
| 262 | |
| 263 | uint16_t DDPServer::getValueInLE(uint16_t valueBE) |
| 264 | { |
| 265 | const uint8_t* byteStream = reinterpret_cast<uint8_t*>(&valueBE); |
| 266 | uint16_t b0 = byteStream[0U]; |
| 267 | uint16_t b1 = byteStream[1U]; |
| 268 | |
| 269 | return (b0 << 8U) | (b1 << 0U); |
| 270 | } |
| 271 | |
| 272 | uint32_t DDPServer::getValueInLE(uint32_t valueBE) |
| 273 | { |
nothing calls this directly
no outgoing calls
no test coverage detected