; readWord success
  
Using vi as a hex editor cella 2017 Branchable 0 12329
  

https://www.schirmacher.de/display/Linux/Using+vi+as+a+hex+editor

The vi editor has a handy feature that does just this:
1. open the file using the -b option. This turns off any automatic formatting. For example: vi -b data
2. convert the binary data into hex format by entering :%!xxd
3. do the required edits (move around using the cursor keys, start inserting characters with the i key, leave inserting with the ESC key, delete characters with the x key)
4. convert the hex data back to binary by entering :%!xxd -r
5. write back your data by entering :w followed by :q or leave without writing the data by entering :q!