It's possible, I did something like this in the past to flip bytes.
You can use the "ADODB.Stream" COM-object for those purposes.
This might be of some help.