Archive::Lha::Stream::Hex - Archive::Lha::Stream::Hex documentation


Archive-Lha documentation  | view source Contained in the Archive-Lha distribution.

Index


NAME

Top

Archive::Lha::Stream::Hex

SYNOPSIS

Top

  my $stream = Archive::Lha::Stream::Hex->new( hex => [qw( 4D 00 2D ...)] );

DESCRIPTION

Top

This is for debugging. You usually don't need to use this.

METHODS

Top

new

creates an object, and optionally stores an array of hex strings in the object.

open

takes a hash as an argument and stores the array of hex strings in the object.

close

does nothing.

eof

sees if the position reached end of array.

tell

returns the current position.

seek

takes an offset as an argument and sets the position from the array top.

read

takes a length as an argument and returns the chunks of the length (in bytes) from the array.

search_header

searches for the next lzh header.

SEE ALSO

Top

Archive::Lha::Stream

AUTHOR

Top

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Top


Archive-Lha documentation  | view source Contained in the Archive-Lha distribution.