NAME
File::Format::RIFF::Chunk - a single RIFF chunk
SYNOPSIS
use File::Format::RIFF;
my ( $chunk ) = new File::Format::RIFF::Chunk;
$chunk->id( 'stuf' );
$chunk->data( 'here is some stuff' );
... some $riff ...
$riff->push( $chunk );
DESCRIPTION
A File::Format::RIFF::Chunk
is a single chunk of data in a RIFF file. It has an identifier and one piece of scalar data. The id must be a four character code, and the data can be any piece of scalar data you wish to store, in any format (it is treated as opaque binary data, so you must interpret it yourself).
CONSTRUCTOR
METHODS
- my ( $id ) = $chunk->id;
-
fixme
- $chunk->id( 'abcd' );
-
fixme
- my ( $data ) = $chunk->data;
-
fixme
- $chunk->data( $data );
-
fixme
- my ( $size ) = $chunk->size;
-
fixme
AUTHOR
Paul Sturm <sturm@branewave.com>
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 248:
'=item' outside of any '=over'
- Around line 252:
You forgot a '=back' before '=head1'