Method | Description | |
---|---|---|
Clone ( ) : object |
Returns a clone of this stream. Clones of a stream access the same data, and are positioned at the same point as the stream they were cloned from. Expert: Subclasses must ensure that clones may be positioned at different points in the input from each other and from the stream they were cloned from.
|
|
ReadByte ( ) : byte |
Reads and returns a single byte.
|
|
ReadBytes ( byte b, int offset, int len ) : void |
Reads a specified number of bytes into an array at the specified offset.
|
|
ReadBytes ( byte b, int offset, int len, bool useBuffer ) : void |
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer). Currently only BufferedIndexInput respects this parameter.
|
|
ReadInt ( ) : int |
Reads four bytes and returns an int.
|
|
ReadLong ( ) : long |
Reads eight bytes and returns a long.
|
|
ReadShort ( ) : short |
Reads two bytes and returns a short. LUCENENET NOTE: Important - always cast to ushort (System.UInt16) before using to ensure the value is positive!
|
|
ReadString ( ) : string |
Reads a string.
|
|
ReadStringSet ( ) : ISet |
Reads a Set<String> previously written with DataOutput#writeStringSet(Set).
|
|
ReadStringStringMap ( ) : string>.IDictionary |
Reads a Map<String,String> previously written with DataOutput#writeStringStringMap(Map).
|
|
ReadVInt ( ) : int |
Reads an int stored in variable-length format. Reads between one and five bytes. Smaller values take fewer bytes. Negative numbers are not supported. The format is described further in DataOutput#writeVInt(int).
|
|
ReadVLong ( ) : long |
Reads a long stored in variable-length format. Reads between one and nine bytes. Smaller values take fewer bytes. Negative numbers are not supported. The format is described further in DataOutput#writeVInt(int).
|
|
SkipBytes ( long numBytes ) : void |
Skip over
|
public abstract ReadBytes ( byte b, int offset, int len ) : void | ||
b | byte | the array to read bytes into |
offset | int | the offset in the array to start storing bytes |
len | int | the number of bytes to read |
return | void |
public ReadBytes ( byte b, int offset, int len, bool useBuffer ) : void | ||
b | byte | the array to read bytes into |
offset | int | the offset in the array to start storing bytes |
len | int | the number of bytes to read |
useBuffer | bool | set to false if the caller will handle /// buffering. |
return | void |
public ReadStringStringMap ( ) : string>.IDictionary |
||
return | string>.IDictionary |