Frank Delaglio, Ph.D.

19804 Maycrest Way
Germantown MD 20876 USA

301 806-0867
delaglio@nmrscience.com



Programs of the NMRPipe System
byteSwap: Reverse the Byte-order of Words in a Binary Data Stream

Flag Argument Default Description
 -in inName stdin Input name of data to swap.
 -out outName stdout Output name for result.
 -bs buffSize 4096 Buffer Size, Words.
 -ws wordSize 4 Bytes Per Word to Swap.
 -bc byteCount 0 Total Bytes to Swap. Use 0 for Auto-Mode.
 -nofs Suppress File Size Check.
 -verb Verbose Mode On.
Notes:
  1. In-place processing (same input and output) is allowed if options -in and -out are both used.
  2. Auto Byte-Count determination requires use of option -in inName.
  3. Option -sc (swap-count) is supported as an alternative to -ws for backward-compatibility.