This abstract class is the superclass of all classes representing an input stream of bytes.

See java.io.InputStream for full documentation

Hierarchy

Constructors

Methods

  • Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected.

    Returns number

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

    Returns void

  • Marks the current position in this input stream.

    Parameters

    • readlimit: number

    Returns void

  • Tests if this input stream supports the mark and reset methods.

    Returns boolean

  • Parameters

    • on: boolean

    Returns any

  • Reads the next byte of data from the input stream.

    Returns number

  • Reads some number of bytes from the input stream and stores them into the buffer array b.

    Parameters

    Returns number

  • Reads up to len bytes of data from the input stream into an array of bytes.

    Parameters

    Returns number

  • Reads the requested number of bytes from the input stream into the given byte array.

    Parameters

    Returns number

  • Reads up to a specified number of bytes from the input stream.

    Parameters

    • len: number

    Returns ByteArray

  • Repositions this stream to the position at the time the mark method was last called on this input stream.

    Returns void

  • Parameters

    Returns any

  • Skips over and discards n bytes of data from this input stream.

    Parameters

    • n: number

    Returns number

  • Reads all bytes from this input stream and writes the bytes to the given output stream in the order that they are read.

    Parameters

    Returns number

Generated using TypeDoc