Audio::TagLib::ID3v2::ExtendedHeader - ID3v2 extended header implementation


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

Index


Code Index:

NAME

Top

Audio::TagLib::ID3v2::ExtendedHeader - ID3v2 extended header implementation

SYNOPSIS

Top

  use Audio::TagLib::ID3v2::ExtendedHeader;

  my $i = Audio::TagLib::ID3v2::ExtendedHeader->new();
  $i->setData($data);

DESCRIPTION

Top

This class implements ID3v2 extended headers. It attempts to follow, both semantically and programatically, the structure specified in the ID3v2 standard. The API is based on the properties of ID3v2 extended headers specified there. If any of the terms used in this documentation are unclear please check the specification in the linked section.

new()

Constructs an empty ID3v2 extended header.

DESTROY()

Destroys the extended header.

UV size()

Returns the size of the extended header. This is variable for the extended header.

void setData(ByteVector $data)

Sets the data that will be used as the extended header. Since the length is not known before the extended header has been parsed, this should just be a pointer to the first byte of the extended header. It will determine the length internally and make that available through size().

EXPORT

None by default.

SEE ALSO

Top

Audio::TagLib

AUTHOR

Top

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Top


Audio-TagLib documentation Contained in the Audio-TagLib distribution.

package Audio::TagLib::ID3v2::ExtendedHeader;

use 5.008003;
use strict;
use warnings;

our $VERSION = '1.41';

use Audio::TagLib;

# Preloaded methods go here.

1;
__END__
# Below is stub documentation for your module. You'd better edit it!