Bit-oriented arithmetic

Characters and numbers in non-text files sometimes represent codes with individual bit fields in them. OmniMark provides bit-oriented operators that treat numeric expressions as sequences of bits rather than as values.

In OmniMark, numeric expressions are equivalent to bit sequences that are 32 bits long. Zero (0) is equivalent to a bit sequence containing all zeros.

Five bit-oriented operators are provided to help in isolating, processing and creating binary values: