A filter primitive that translates between booleans (integers) and their external representations. When encoding data, this filter produces values of either 1 or 0.