Simon Cozens > Plucene-1.19 > Plucene::Store::OutputStream

Download:
Plucene-1.19.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  12
Open  5
View/Report Bugs
Source   Latest Release: Plucene-1.25

NAME ^

Plucene::Store::OutputStream - a random-access output stream

SYNOPSIS ^

        # isa Plucene::Store::InputStream

DESCRIPTION ^

This is an abstract class for output to a file in a Directory. A random-access output stream. Used for all Plucene index output operations.

METHODS ^

new

Create a new Plucene::Store::OutputStream

clone

Clone this

fh / read / seek / tell / getc / print / eof / close

File operations

write_byte

This will write a single byte.

write_int

This will write an int as four bytes.

write_vint

This will write an int in a variable length format.

write_long

This will write a long as eight bytes.

write_vlong

This will write a long in variable length format.

write_string

This will write a string.

syntax highlighting: