|
spandsp 3.1.1
|
These tests check that the put_net_unaligned_uintXX() functions write values most significant byte first, and that the get_net_unaligned_uintXX() functions read them back, at every offset from 0 to 7 in a byte buffer. For example, put_net_unaligned_uint16() must store 0xFEDC as the bytes FE DC on any host. They also check that nothing outside the value's own bytes is written.