Stray Taoist > Plucene-1.0 > Plucene::Store::InputStream

Download:
Plucene-1.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  4
View Bugs
Report a bug
Source   Latest Release: Plucene-1.25

NAME ^

Plucene::Store::InputStream - a random-access input stream

SYNOPSIS ^

        # isa IO::File

DESCRIPTION ^

A random-access input stream.Used for all Plucene index input operations.

METHODS ^

new

fh

The filehandle

clone

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 format

read_string

This will read a string.

read_long

This will read eight bytes and return a long.