** Utility methods to decode 16 and 32-bit big-endian unsigned integers. */
| 10641 | ** Utility methods to decode 16 and 32-bit big-endian unsigned integers. |
| 10642 | */ |
| 10643 | static unsigned int get_uint16(unsigned char *a){ |
| 10644 | return (a[0]<<8)|a[1]; |
| 10645 | } |
| 10646 | static unsigned int get_uint32(unsigned char *a){ |
| 10647 | return ((unsigned int)a[0]<<24) |
| 10648 | | ((unsigned int)a[1]<<16) |
no outgoing calls
no test coverage detected