Reads text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.

See java.io.BufferedReader for full documentation

Hierarchy

Constructors

Methods

  • Closes the stream and releases any system resources associated with it.

    Returns void

  • Returns a Stream, the elements of which are lines read from this BufferedReader.

    Returns Stream<string>

  • Marks the present position in the stream.

    Parameters

    • readAheadLimit: number

    Returns void

  • Tells whether this stream supports the mark() operation.

    Returns boolean

  • Reads a single character.

    Returns number

  • Reads characters into an array.

    Parameters

    • cbuf: string

    Returns number

  • Reads characters into a portion of an array.

    Parameters

    • cbuf: string
    • off: number
    • len: number

    Returns number

  • Tells whether this stream is ready to be read.

    Returns boolean

  • Resets the stream.

    Returns void

  • Skips characters.

    Parameters

    • n: number

    Returns number

  • Reads all characters from this reader and writes the characters to the given writer in the order that they are read.

    Parameters

    Returns number

Generated using TypeDoc