blob: 1e7f41edf013e353944f0a4879a1248c8a8b2f11 [file] [log] [blame]
unsigned short swapu16_1 (unsigned short x)
{
return (x << 8) | (x >> 8);
}
unsigned short swapu16_2 (unsigned short x)
{
return (x >> 8) | (x << 8);
}