User: editor -- 2010-03-19 << 451 453 >> |
Hits: 3023 |
Type: Count and statistics |
Search all Count and statistics examples |
Description: |
How to count the occurrance of each bytes from 00-FF in a binary file? |
Input Sample: |
a binary file |
Output Sample: |
00 120 times 01 38 times 02 xx times ... |
Answer: |
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
1. open 'Tools->Pattern Counter' menu 2. select source to 'File/http', and select file at right entry. 3. click 'clear' to clear default template 4. select 'Regular Exp', 'Cross Line', 'Binary File' option 5. click 'Add' button, and enter name like: enter pattern like: click 'ok' 6. select the newly added line, and click 'detail', the occurrance of all bytes will be listed |
Screenshot 1: Pattern_Counter_Window |