Class LineReader

Index

Constructor methods

Methods

Constructor methods

constructor(filename: string, bufferSize?: number): LineReader

Parameters

  • filename: string
  • bufferSize?: number optional

Returns

LineReader

Methods

public getBufferAndSetCurrentPosition(position: number): number

Parameters

  • position: number

Returns

number

public getNextLine(): string

Returns

string

public hasNextLine(): boolean

Returns

boolean