Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::ID3v2::UnknownFrame

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.41   Source   Latest Release: Audio-TagLib-1.50_01

NAME ^

Audio::TagLib::ID3v2::UnknownFrame - A frame type unkown to Audio::TagLib

SYNOPSIS ^

  use Audio::TagLib::ID3v2::UnknownFrame;
  
  my $i = Audio::TagLib::ID3v2::UnknownFrame->new(
    Audio::TagLib::ByteVector->new("blah"));
  print $i->data()->data(), "\n"; # got "blah"

DESCRIPTION ^

This class represents a frame type not known (or more often simply unimplemented) in Audio::TagLib. This is here provide a basic API for manipulating the binary data of unknown frames and to provide a means of rendering such unknown frames.

Please note that a cleaner way of handling frame types that Audio::TagLib does not understand is to subclass ID3v2::Frame and ID3v2::FrameFactory to have your frame type supported through the standard ID3v2 mechanism.

new(ByteVector $data)

Constructs an unknown frame based on $data.

DESTROY()

Destroys the instance.

String toString()

see Audio::TagLib::ID3v2::Frame::toString()

ByteVector data()

Returns the field data (everything but the header) for this frame.

EXPORT

None by default.

SEE ALSO ^

Audio::TagLib Frame

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.

syntax highlighting: