Audio::TagLib::ID3v2::SynchDataAudio::TagLib::ID3v2::SynchData is a Perl module with a few functions for ID3v2 synch safe integer conversion. | |
Download |
Audio::TagLib::ID3v2::SynchData Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dongxu Ma
- Publisher web site:
- http://search.cpan.org/~dongxu/Parse-QTEDI-0.12/lib/Parse/QTEDI.pod
Audio::TagLib::ID3v2::SynchData Tags
Audio::TagLib::ID3v2::SynchData Description
Audio::TagLib::ID3v2::SynchData is a Perl module with a few functions for ID3v2 synch safe integer conversion. Audio::TagLib::ID3v2::SynchData is a Perl module with a few functions for ID3v2 synch safe integer conversion.SYNOPSIS use Audio::TagLib::ID3v2::SynchData; print Audio::TagLib::ID3v2::SynchData->toUInt( Audio::TagLib::ByteVector->new("11")), "n"; # got 6321 print Audio::TagLib::ID3v2::SynchData->fromUInt(6321)->data(), "n"; # got "11"In the ID3v2.4 standard most integer values are encoded as "synch safe" integers which are encoded in such a way that they will not give false MPEG syncs and confuse MPEG decoders. This namespace provides some methods for converting to and from these values to ByteVectors for things rendering and parsing ID3v2 data.UV toUInt(ByteVector $data)This returns the unsigned integer value of $data where $data is a ByteVector that contains synchsafe integer. The default length of 4 is used if another value is not specified.ByteVector fromUInt(UV $value)Returns a 4 byte (32 bit) synchsafe integer based on $value.EXPORTNone by default. Requirements: · Perl
Audio::TagLib::ID3v2::SynchData Related Software