Apache Lucene.Net 2.4.0 Class Library API

RAMOutputStream Members

RAMOutputStream overview

Public Static Fields

BUFFER_SIZE_ForNUnitTest 

Public Instance Constructors

RAMOutputStream Overloaded. Initializes a new instance of the RAMOutputStream class.

Public Instance Methods

Close 
CopyBytes (inherited from IndexOutput)Copy numBytes bytes from input to ourself.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush 
GetFilePointer 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Length 
ResetResets this to an empty buffer.
Seek 
SetLength (inherited from IndexOutput) Set the file length. By default, this method does nothing (it's optional for a Directory to implement it). But, certain Directory implementations (for example @see FSDirectory) can use this to inform the underlying IO system to pre-allocate the file to the specified size. If the length is longer than the current file length, the bytes added to the file are undefined. Otherwise the file is truncated. file length
SizeInBytes Returns the byte usage of all buffers.
ToString (inherited from Object)Returns a String that represents the current Object.
WriteByte 
WriteBytesOverloaded.  
WriteBytes (inherited from IndexOutput)Overloaded. Writes an array of bytes.
WriteChars (inherited from IndexOutput)Overloaded. Writes a sub sequence of chars from s as "modified UTF-8" encoded bytes.
WriteInt (inherited from IndexOutput)Writes an int as four bytes.
WriteLong (inherited from IndexOutput)Writes a long as eight bytes.
WriteString (inherited from IndexOutput)Writes a string.
WriteToCopy the current contents of this buffer to the named output.
WriteVInt (inherited from IndexOutput)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 (inherited from IndexOutput)Writes an long in a variable-length format. Writes between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RAMOutputStream Class | Lucene.Net.Store Namespace