Hex reader and writer.