NAME

File::Format::RIFF::Container - RIFF Container (LISTs and RIFFs)

SYNOPSIS

You should not instantiate a File::Format::RIFF::Container directly; instead, you should instantiate one of its subclasses, either a File::Format::RIFF object, or a File::Format::RIFF::List object.

DESCRIPTION

File::Format::RIFF::Container is a base class for both RIFF objects and RIFF lists. It is, essentially, an array of other RIFF lists and/or RIFF chunks, and you can add, change, delete, and read them.

METHODS

my ( $type ) = $container->type;

fixme

$container->type( $type );

fixme

my ( $id ) = $container->id;

fixme (will be either LIST or RIFF)

my ( $data ) = $container->data;

fixme

$container->data( $data );

fixme

my ( $numChunks ) = $container->numChunks;

fixme

my ( $size ) = $container->size;

fixme

my ( @replaced ) = $self->splice( $offset, $length, $list );

fixme

$container->push( @chunks );

fixme

my ( $chunk ) = $container->pop;

fixme

$container->unshift( @chunks );

fixme

my ( $chunk ) = $container->shift;

fixme

my ( $chunk ) = $container->at( $i );

fixme

my ( $newChunk ) = $container->addChunk( $id, $data );

fixme

my ( $newList ) = $container->addList( $type, $data );

fixme

$container->dump;

fixme

SEE ALSO

File::Format::RIFF
File::Format::RIFF::List

AUTHOR

Paul Sturm <sturm@branewave.com>