@small-tech/jsdb
Version:
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for Small Web applications that persists to a JavaScript transaction log.
19 lines (18 loc) • 423 B
TypeScript
/**
* @class
*/
export default class LineByLine {
constructor(file: any, options: any);
fd: any;
options: any;
newLineCharacter: any;
_searchInBuffer(buffer: any, hexNeedle: any): number;
reset(): void;
eofReached: boolean;
linesCache: any[];
fdPosition: any;
close(): void;
_extractLines(buffer: any): any[];
_readChunk(lineLeftovers: any): number;
next(): boolean;
}