---
name: "Plucene::Store::OutputStream"
section: "3pm"
platform: "linux"
package: "libplucene-perl"
version: "1.25-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Plucene::Store::OutputStream"
---

# Plucene::Store::OutputStream(3pm)

a random-access output stream

## 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.
