rpc: treat swab from and to little-endian separately.