NAME

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

SYNOPSIS

use TagLib::ID3v2::UnknownFrame;

my $i = TagLib::ID3v2::UnknownFrame->new(
  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 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 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 TagLib::ID3v2::Frame::toString()

ByteVector data()

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

EXPORT

None by default.

SEE ALSO

TagLib Frame

AUTHOR

Dongxu Ma, <dongxu.ma@gmail.com>

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.