* Resets the parser, then parses a complete document and * pushes it to the handler. * * @param data Document to parse.
(data)
| 1930 | * @param data Document to parse. |
| 1931 | */ |
| 1932 | parseComplete(data) { |
| 1933 | this.reset(); |
| 1934 | this.end(data); |
| 1935 | } |
| 1936 | getSlice(start, end) { |
| 1937 | while (start - this.bufferOffset >= this.buffers[0].length) { |
| 1938 | this.shiftBuffer(); |