in reply to Best way to read a file into memory and use normal operation on memory file?

Byte swap on the output, as in the following:

$ echo -n 'abcd' | dd conv=swab | hexdump -C
00000000  62 61 64 63                                       |badc|

It seems OP is requesting a ':bswap' io layer or somesuch. AFAIK there is none.

  • Comment on Re: Best way to read a file into memory and use normal operation on memory file? (byteswap)