Method | Description | |
---|---|---|
JsonBuffer ( string buffer ) |
Initializes a new instance of the JsonBuffer class.
|
|
Read ( ) : int |
Reads a character from the buffer.
|
|
Substring ( int start ) : string |
Reads a substring from the buffer.
|
|
Substring ( int start, int count ) : string |
Reads a substring from the buffer.
|
|
UnRead ( int c ) : void |
Returns one character to the buffer (if the character matches the one at the current position the current position is moved back by one).
|
public Substring ( int start ) : string | ||
start | int | The zero based index of the start of the substring. |
return | string |
public Substring ( int start, int count ) : string | ||
start | int | The zero based index of the start of the substring. |
count | int | The number of characters in the substring. |
return | string |