:RANGE ! CMD [ARGS…]

pipe RANGE buffer content to CMD(stdin) and replace them with its stdout

e.g.

:%!xxd
:%!xxd -r