The BufferedIndexOutput type exposes the following members.

Constructors

  NameDescription
Protected methodBufferedIndexOutput
Initializes a new instance of the BufferedIndexOutput class

Methods

  NameDescription
Public methodClose
Closes this stream to further operations.
(Overrides IndexOutput..::..Close()()()().)
Public methodCopyBytes
Copy numBytes bytes from input to ourself.
(Inherited from IndexOutput.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Forces any buffered output to be written.
(Overrides IndexOutput..::..Flush()()()().)
Public methodFlushBuffer
Expert: implements buffer write. Writes bytes at the current position in the output.
Public methodGetFilePointer
Returns the current position in this file, where the next write will occur.
(Overrides IndexOutput..::..GetFilePointer()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
The number of bytes in the file.
(Overrides IndexOutput..::..Length()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSeek
Sets current position in this file, where the next write will occur.
(Overrides IndexOutput..::..Seek(Int64).)
Public methodSetLength
Set the file length. By default, this method does nothing (it's optional for a Directory to implement it). But, certain Directory implementations (for
(Inherited from IndexOutput.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWriteByte
Writes a single byte.
(Overrides IndexOutput..::..WriteByte(Byte).)
Public methodWriteBytes(array<Byte>[]()[][], Int32)
Writes an array of bytes.
(Inherited from IndexOutput.)
Public methodWriteBytes(array<Byte>[]()[][], Int32, Int32)
Writes an array of bytes.
(Overrides IndexOutput..::..WriteBytes(array<Byte>[]()[][], Int32, Int32).)
Public methodWriteChars(array<Char>[]()[][], Int32, Int32) Obsolete.
Writes a sub sequence of characters from char[] as the old format (modified UTF-8 encoded bytes).
(Inherited from IndexOutput.)
Public methodWriteChars(String, Int32, Int32) Obsolete.
Writes a sub sequence of characters from s as the old format (modified UTF-8 encoded bytes).
(Inherited from IndexOutput.)
Public methodWriteInt
Writes an int as four bytes.
(Inherited from IndexOutput.)
Public methodWriteLong
Writes a long as eight bytes.
(Inherited from IndexOutput.)
Public methodWriteString
Writes a string.
(Inherited from IndexOutput.)
Public methodWriteStringStringMap (Inherited from IndexOutput.)
Public methodWriteVInt
Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.
(Inherited from IndexOutput.)
Public methodWriteVLong
Writes an long in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.
(Inherited from IndexOutput.)

See Also