Decode an unsigned 16 bit quantity */
| 535 | |
| 536 | /* Decode an unsigned 16 bit quantity */ |
| 537 | static uint16 |
| 538 | read_u16(const unsigned char buf[2]) |
| 539 | { |
| 540 | return ((uint16)buf[0] << 0) |
| 541 | | ((uint16)buf[1] << 8); |
| 542 | } |
| 543 | |
| 544 | /* Decode an unsigned 32 bit quantity */ |
| 545 | static uint32 |
no outgoing calls
no test coverage detected