Program byteSwap, argument checking enabled.
ByteSwap: reverse byte-order of words in stream:
byteSwap < inStream > outStream
Options:
-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.
ByteSwap Error extracting command-line arguments.