The IndexOutput type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| IndexOutput | Initializes a new instance of the IndexOutput class |
Methods
| Name | Description | |
|---|---|---|
| Close | Closes this stream to further operations. | |
| CopyBytes | Copy numBytes bytes from input to ourself. | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| Flush | Forces any buffered output to be written. | |
| GetFilePointer | Returns the current position in this file, where the next write will
occur.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Length | The number of bytes in the file. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Seek | Sets current position in this file, where the next write will occur. | |
| SetLength | Set the file length. By default, this method does
nothing (it's optional for a Directory to implement
it). But, certain Directory implementations (for
| |
| ToString | (Inherited from Object.) | |
| WriteByte | Writes a single byte. | |
| WriteBytes(array<Byte>[]()[][], Int32) | Writes an array of bytes. | |
| WriteBytes(array<Byte>[]()[][], Int32, Int32) | Writes an array of bytes. | |
| WriteChars(array<Char>[]()[][], Int32, Int32) | Obsolete. Writes a sub sequence of characters from char[] as
the old format (modified UTF-8 encoded bytes).
| |
| WriteChars(String, Int32, Int32) | Obsolete. Writes a sub sequence of characters from s as the old
format (modified UTF-8 encoded bytes).
| |
| WriteInt | Writes an int as four bytes. | |
| WriteLong | Writes a long as eight bytes. | |
| WriteString | Writes a string. | |
| WriteStringStringMap | ||
| WriteVInt | Writes an int in a variable-length format. Writes between one and
five bytes. Smaller values take fewer bytes. Negative numbers are not
supported.
| |
| WriteVLong | Writes an long in a variable-length format. Writes between one and five
bytes. Smaller values take fewer bytes. Negative numbers are not
supported.
|