Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hhravn

macrumors newbie
Original poster
May 23, 2012
2
0
I am in dire need of a hex editor with the possibility to switch to a "bit view", as opposed to the the byte view of most editors. I am currently analyzing audio streams, and this would make my life a lot easier. Wireshark has the exact feature im looking for, but only for network packets..

Could anyone help me out with a recommendation?
 
But in "byte" view, the hex values correlate to binary directly. Most people just do this raw conversion in their head and prefer to have the compressed view where they can see more binary at one time. I haven't really seen any hex editor, for mac or pc that had a native binary mode; can't really see the need for it.

examples :
01 = 0000 0001
02 = 0000 0010
04 = 0000 0100
08 = 0000 1000
10 = 0001 0000
20 = 0010 0000
40 = 0100 0000
80 = 1000 0000

Thus by combining the hex values on the left you can represent any binary digits. Thus the hex values ARE binary values just compressed down to a format that is a bit easier to read.

Hope that helps.
 
But in "byte" view, the hex values correlate to binary directly. Most people just do this raw conversion in their head and prefer to have the compressed view where they can see more binary at one time.

Yeah, well.. I am looking at binary dumps of communication using a protocol where the header is using odd numbers of bits to describe the individual frames. In specific a header spans 3 bytes, in the following pattern;

3 bits define the version
7 bits define a sequence number
4 bits the length of the frame
etc..

This makes it, lets say, less than easy, to map bits to bytes in the head :eek:)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.