C# Class Lucene.Net.Store.BufferedIndexOutput

Base implementation class for buffered {@link IndexOutput}.
Inheritance: Lucene.Net.Store.IndexOutput
显示文件 Open project: synhershko/lucene.net Class Usage Examples

Public Methods

Method Description
Flush ( ) : void

Forces any buffered output to be written.

FlushBuffer ( byte b, int offset, int len ) : void

Expert: implements buffer write. Writes bytes at the current position in the output.

Seek ( long pos ) : void

Sets current position in this file, where the next write will occur.

WriteByte ( byte b ) : void

Writes a single byte.

WriteBytes ( byte b, int offset, int length ) : void

Writes an array of bytes.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Closes this stream to further operations.

Private Methods

Method Description
FlushBuffer ( byte b, int len ) : void

Expert: implements buffer write. Writes bytes at the current position in the output.

Method Details

Dispose() protected method

Closes this stream to further operations.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

Forces any buffered output to be written.
public Flush ( ) : void
return void

FlushBuffer() public abstract method

Expert: implements buffer write. Writes bytes at the current position in the output.
public abstract FlushBuffer ( byte b, int offset, int len ) : void
b byte the bytes to write ///
offset int the offset in the byte array ///
len int the number of bytes to write ///
return void

Seek() public method

Sets current position in this file, where the next write will occur.
public Seek ( long pos ) : void
pos long
return void

WriteByte() public method

Writes a single byte.
public WriteByte ( byte b ) : void
b byte
return void

WriteBytes() public method

Writes an array of bytes.
public WriteBytes ( byte b, int offset, int length ) : void
b byte the bytes to write ///
offset int
length int the number of bytes to write ///
return void