Property | Type | Description | |
---|---|---|---|
name | string |
Property | Type | Description | |
---|---|---|---|
currentCharIndex | int | ||
data | char[] | ||
input | |||
lastChar | int | ||
lastCharBufferStart | int | ||
n | int | ||
numMarkers | int | ||
p | int |
Method | Description | |
---|---|---|
Consume ( ) : void | ||
GetText ( |
||
La ( int i ) : int | ||
Mark ( ) : int |
Return a marker that we can release later. Return a marker that we can release later. The specific marker value used for this class allows for some level of protection against misuse where |
|
Release ( int marker ) : void |
Decrement number of markers, resetting buffer if we hit 0.
|
|
Seek ( int index ) : void |
Seek to absolute character index, which might not be in the current sliding window. Seek to absolute character index, which might not be in the current sliding window. Move |
|
UnbufferedCharStream ( ) : System |
Useful for subclasses that pull char from other than this.input.
|
|
UnbufferedCharStream ( Stream input ) : System | ||
UnbufferedCharStream ( Stream input, int bufferSize ) : System | ||
UnbufferedCharStream ( |
||
UnbufferedCharStream ( |
||
UnbufferedCharStream ( int bufferSize ) : System |
Useful for subclasses that pull char from other than this.input.
|
Method | Description | |
---|---|---|
Add ( int c ) : void | ||
Fill ( int n ) : int |
Add n characters to the buffer. Returns the number of characters actually added to the buffer. If the return value is less than n , then EOF was reached before n characters could be added.
|
|
NextChar ( ) : int |
Override to provide different source of characters than
|
|
Sync ( int want ) : void |
Make sure we have 'need' elements from current position
|
public GetText ( |
||
interval | ||
return | string |
public UnbufferedCharStream ( Stream input ) : System | ||
input | Stream | |
return | System |
public UnbufferedCharStream ( Stream input, int bufferSize ) : System | ||
input | Stream | |
bufferSize | int | |
return | System |
public UnbufferedCharStream ( |
||
input | ||
return | System |
public UnbufferedCharStream ( |
||
input | ||
bufferSize | int | |
return | System |
public UnbufferedCharStream ( int bufferSize ) : System | ||
bufferSize | int | |
return | System |