in reply to Re^3: ID3v2 TAG unpack uninitialized value
in thread ID3v2 TAG unpack uninitialized value

It seems correct reading 4 Bytes and printing with C4 but I thought that I should print 4 Unsigned Integers this is the reason that I was using I4. Maybe I was wrong.

  • Comment on Re^4: ID3v2 TAG unpack uninitialized value

Replies are listed 'Best First'.
Re^5: ID3v2 TAG unpack uninitialized value
by BrowserUk (Patriarch) on Jan 06, 2014 at 07:00 UTC

    'C' is also an unsigned integer. Just 8-bits rather than 32-bits for 'I'.

    The logic you posted (but presumably didn't write?) then strips the high bits and combined the 4x 7-bits to produce the 28-bit value.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
    Computers are making people easier to use everyday