Audio::TagLib::ID3v2::UnknownFrame - A frame type unkown to Audio::TagLib
use Audio::TagLib::ID3v2::UnknownFrame; my $i = Audio::TagLib::ID3v2::UnknownFrame->new( Audio::TagLib::ByteVector->new("blah")); print $i->data()->data(), "\n"; # got "blah"
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.
Constructs an unknown frame based on $data.
Destroys the instance.
Returns the field data (everything but the header) for this frame.
None by default.
Dongxu Ma, <firstname.lastname@example.org>
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.