convert a 24 bit integer into a 32 bit one
| 92 | |
| 93 | // convert a 24 bit integer into a 32 bit one |
| 94 | void c24to32(const uint24 u24, uint32& u32) |
| 95 | { |
| 96 | u32 = 0; |
| 97 | u32 = (u24[0] << 16) | (u24[1] << 8) | u24[2]; |
| 98 | } |
| 99 | |
| 100 | |
| 101 | // convert with return for ease of use |
no outgoing calls
no test coverage detected