Reverse operations include Reverse Bits and Byte Swap operations. The actual behavior of both commands depends on the current editor window's group mode. For BYTE group mode, Byte Swap operation is not available.
When you execute a reverse operation, the following window appears:
The complexity of both commands is linear, depending on the number of ranges in a selection. For a single range selection, the complexity is always constant, not depending on selection size.
Reverse Bits operation reverses the order of bits in each byte, word, double word or quad word in a current multiple selection.
Byte Swap command reverses the order of bytes for each word, double word or quad word in a current multiple selection. This function is not available for a BYTE group mode.
Scripts may execute bitwise operations using the IDocumentView.reverseOpAsync method.