java - how to read file in hex format -
i have file have read java code. can open file in hex editor, content '00 01 00 00' in opened file hex editor.
i want following operation java code:- 1. read content. 2. print it. (it should print 00 01 00 00). can perform operation on data.
but problem is,
when doing above operation on file using "fileinputstream" instead of printing '00 01 00 00' printing '0 1 0 0' every byte converted decimal value.
so there way can perform desired operation?
Comments
Post a Comment