TagLib 1.5 (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

TAGLIB_EXPORT uint toUInt (const ByteVector &data)
TAGLIB_EXPORT ByteVector fromUInt (uint value)
TAGLIB_EXPORT ByteVector decode (const ByteVector &input)


Function Documentation

TAGLIB_EXPORT ByteVector decode const ByteVector &  input  ) 
 

Convert the data from unsynchronized data to its original format.

TAGLIB_EXPORT ByteVector fromUInt uint  value  ) 
 

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

TAGLIB_EXPORT 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.