NAME

Archive::Lha::Stream::Base

DESCRIPTION

This is a base class for ::Stream subclasses.

METHODS

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

Archive::Lha::Stream

AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Kenichi Ishigaki.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.