Archive::Lha::Stream::Base - Archive::Lha::Stream::Base documentation


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

Index


NAME

Top

Archive::Lha::Stream::Base

DESCRIPTION

Top

This is a base class for ::Stream subclasses.

METHODS

Top

new

creates an object, and optionally opens the target.

open

takes a hash as an argument and does appropriate things for the subclass.

close

does appropriate things for the subclass.

eof

sees if the position reached end of the file/string/array.

tell

returns the current position.

seek

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

read

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

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.