The RAMOutputStream type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RAMOutputStream()()()() | Construct an empty output buffer. |
![]() | RAMOutputStream(RAMFile) | Initializes a new instance of the RAMOutputStream class |
Methods
Name | Description | |
---|---|---|
![]() | Close | (Overrides IndexOutput..::..Close()()()().) |
![]() | CopyBytes | Copy numBytes bytes from input to ourself. (Inherited from IndexOutput.) |
![]() | 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 | (Overrides IndexOutput..::..Flush()()()().) |
![]() | GetFilePointer | (Overrides IndexOutput..::..GetFilePointer()()()().) |
![]() | 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 | (Overrides IndexOutput..::..Length()()()().) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Reset | Resets this to an empty buffer. |
![]() | Seek | (Overrides IndexOutput..::..Seek(Int64).) |
![]() | 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
(Inherited from IndexOutput.) |
![]() | SizeInBytes | Returns byte usage of all buffers. |
![]() | ToString | (Inherited from Object.) |
![]() | WriteByte | (Overrides IndexOutput..::..WriteByte(Byte).) |
![]() | WriteBytes(array<Byte>[]()[][], Int32) | Writes an array of bytes. (Inherited from IndexOutput.) |
![]() | WriteBytes(array<Byte>[]()[][], Int32, Int32) | (Overrides IndexOutput..::..WriteBytes(array<Byte>[]()[][], Int32, Int32).) |
![]() | WriteChars(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.) |
![]() | WriteChars(String, Int32, Int32) | Obsolete. Writes a sub sequence of characters from s as the old
format (modified UTF-8 encoded bytes).
(Inherited from IndexOutput.) |
![]() | WriteInt | Writes an int as four bytes. (Inherited from IndexOutput.) |
![]() | WriteLong | Writes a long as eight bytes. (Inherited from IndexOutput.) |
![]() | WriteString | Writes a string. (Inherited from IndexOutput.) |
![]() | WriteStringStringMap | (Inherited from IndexOutput.) |
![]() | WriteTo | Copy the current contents of this buffer to the named output. |
![]() | 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.
(Inherited from IndexOutput.) |
![]() | 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.
(Inherited from IndexOutput.) |
Properties
Name | Description | |
---|---|---|
![]() ![]() | BUFFER_SIZE_ForNUnit |