Hex editor with "bit view"

Discussion in 'Mac Apps and Mac App Store' started by hhravn, May 23, 2012.

  1. hhravn macrumors newbie

    Joined:
    May 23, 2012
    #1
    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?
     
  2. CylonGlitch macrumors 68030

    CylonGlitch

    Joined:
    Jul 7, 2009
    Location:
    SoCal
    #2
    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.
     
  3. hhravn thread starter macrumors newbie

    Joined:
    May 23, 2012
    #3
    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:)
     

Share This Page