A filter primitive that translates between unsigned short integers and their external representations.