Swap the bytes of every element before handing to next processor. The
littleEndian compile-time parameter indicates what endianness the data is
in. If it matches the platform's endianness, then nothing is done (no byte
swap occurs). Otherwise, a byte swap processor is returned wrapping the io
pipe.
Note, the width of the elements in the iopipe's window must be 2 or 4 bytes
wide, and mutable.
Swap the bytes of every element before handing to next processor. The littleEndian compile-time parameter indicates what endianness the data is in. If it matches the platform's endianness, then nothing is done (no byte swap occurs). Otherwise, a byte swap processor is returned wrapping the io pipe.
Note, the width of the elements in the iopipe's window must be 2 or 4 bytes wide, and mutable.