table of contents
Plucene::Store::InputStream(3pm) | User Contributed Perl Documentation | Plucene::Store::InputStream(3pm) |
NAME¶
Plucene::Store::InputStream - a random-access input streamSYNOPSIS¶
# isa IO::File
DESCRIPTION¶
A random-access input stream.Used for all Plucene index input operations.METHODS¶
new¶
my $inputstream = Plucene::Store::InputStream->new($file);
Create a new input stream.
fh / read / seek / tell / getc / print / eof / close¶
File operationsclone¶
This will return a clone of this stream.read_byte¶
This will read and return a single byte.read_int¶
This will read four bytes and return an integer.read_vint¶
This will read an integer stored in a variable-length format.read_vlong¶
This will read a long and stored in variable-length formatread_string¶
This will read a string.read_long¶
This will read eight bytes and return a long.2018-04-02 | perl v5.26.1 |