Lucene.Net 1.4.3 Class Library

InputStream Methods

The methods of the InputStream class are listed below. For a complete list of InputStream class members, see the InputStream Members topic.

Public Instance Methods

Clone 
CloseCloses the stream to futher operations.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetFilePointerReturns the current position in this file, where the next read will occur.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
LengthThe number of bytes in the file.
ReadByteReads and returns a single byte.
ReadBytesReads a specified number of bytes into an array at the specified offset.
ReadCharsReads UTF-8 encoded characters into an array.
ReadIntReads four bytes and returns an int.
ReadInternalExpert: implements buffer refill. Reads bytes from the current position in the input.
ReadLongReads eight bytes and returns a long.
ReadStringReads a string.
ReadVIntReads an int stored in variable-length format. Reads between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported.
ReadVLongReads a long stored in variable-length format. Reads between one and nine bytes. Smaller values take fewer bytes. Negative numbers are not supported.
SeekSets current position in this file, where the next read will occur.
SeekInternalExpert: implements seek. Sets current position in this file, where the next {@link #ReadInternal(byte[],int,int)} will occur.
ToString (inherited from Object) Returns a String that represents the current Object.

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

InputStream Class | Lucene.Net.Store Namespace | |