Aleksi Strandberg kirjoitti 10.3.2006 kello 21.11:

I'm working on ID3v2 writer.
Id3.org documents say that the tag size is stored as 32 bit synchsafe integer.

Do you know how to store tag size like this?

Here's some info from ID3.org website:
Synchsafe integers are integers that keep its highest bit (bit 7)
zeroed, making seven bits out of eight available. Thus a 32 bit
synchsafe integer can store 28 bits of information.

Example:

255 (%11111111) encoded as a 16 bit synchsafe integer is 383
(%00000001 01111111). _______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to