Kenichi Ishigaki > Archive-Lha-0.06 > Archive::Lha::Stream::Hex

Download:
Archive-Lha-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Archive::Lha::Stream::Hex

SYNOPSIS ^

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

DESCRIPTION ^

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

METHODS ^

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 ^

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.