Constructors
constructor
-
Parameters
-
-
Default value bufsize: number = DEFAULT_BUFFER_SIZE
Properties
Private bufsize
bufsize: number
Private left
left: number = 0
Private window
window: string = ""
Methods
canSatisfy
- canSatisfy(offset: number): boolean
-
Parameters
Returns boolean
dropLeft
- dropLeft(offset: number): void
get
- get(offset: number, n: number): string
-
Parameters
Returns string
Window over input. Enables us to use a simple InputStream abstraction that does not need to support backtracking.