The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

DESCRIPTION

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

Audio::TagLib

AUTHOR

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.