Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Properties | List of all members
Lucene.Net.Index.ByteSliceWriter Class Reference

Class to write byte streams into slices of shared byte[]. This is used by DocumentsWriter to hold the posting list for many terms in RAM. More...

Public Member Functions

 ByteSliceWriter (ByteBlockPool pool)
 
void Init (int address)
 Set up the writer to write at address.
 
void WriteByte (byte b)
 Write byte into byte slice stream
 
void WriteBytes (byte[] b, int offset, int len)
 
void WriteVInt (int i)
 

Properties

int Address [get]
 

Detailed Description

Class to write byte streams into slices of shared byte[]. This is used by DocumentsWriter to hold the posting list for many terms in RAM.

Definition at line 26 of file ByteSliceWriter.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.ByteSliceWriter.ByteSliceWriter ( ByteBlockPool  pool)

Definition at line 34 of file ByteSliceWriter.cs.

Member Function Documentation

void Lucene.Net.Index.ByteSliceWriter.Init ( int  address)

Set up the writer to write at address.

Definition at line 40 of file ByteSliceWriter.cs.

void Lucene.Net.Index.ByteSliceWriter.WriteByte ( byte  b)

Write byte into byte slice stream

Definition at line 50 of file ByteSliceWriter.cs.

void Lucene.Net.Index.ByteSliceWriter.WriteBytes ( byte[]  b,
int  offset,
int  len 
)

Definition at line 64 of file ByteSliceWriter.cs.

void Lucene.Net.Index.ByteSliceWriter.WriteVInt ( int  i)

Definition at line 87 of file ByteSliceWriter.cs.

Property Documentation

int Lucene.Net.Index.ByteSliceWriter.Address
get

Definition at line 83 of file ByteSliceWriter.cs.


The documentation for this class was generated from the following file: