TagLib 1.3.1 (TagLib: id3v2synchdata.h File Reference)

id3v2synchdata.h File Reference

#include <tbytevector.h>
#include <taglib.h>

Include dependency graph for id3v2synchdata.h:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  TagLib
namespace  TagLib::ID3v2
namespace  TagLib::ID3v2::SynchData

Functions

uint toUInt (const ByteVector &data)
ByteVector fromUInt (uint value)


Function Documentation

ByteVector fromUInt uint  value  ) 
 

Returns a 4 byte (32 bit) synchsafe integer based on value.

uint toUInt const ByteVector &  data  ) 
 

This returns the unsigned integer value of data where data is a ByteVector that contains a synchsafe integer (Structure, 6.2). The default length of 4 is used if another value is not specified.