typesxml
Version:
Open source XML library written in TypeScript
24 lines (23 loc) • 827 B
TypeScript
/*******************************************************************************
* Copyright (c) 2023-2026 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse License 1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-v10.html
*
* Contributors:
* Maxprograms - initial API and implementation
*******************************************************************************/
export declare class StreamReader {
encoding: BufferEncoding;
chunks: Array<string>;
finished: boolean;
constructor(encoding: BufferEncoding);
enqueue(chunk: string): void;
markFinished(): void;
read(): string;
dataAvailable(): boolean;
isFinished(): boolean;
closeFile(): void;
}