Module org.hsqldb
Package org.hsqldb.lib

## Interface InputStreamInterface

- All Known Implementing Classes:
    `InputStreamWrapper`

      public interface InputStreamInterface

  Since:
    2.3.0
  Author:
    Fred Toussi (fredt@users dot sourceforge.net)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `available()` |
    `void` | `close()` |
    `long` | `getSizeLimit()` | Invariant.
    `int` | `read()` |
    `int` | `read​(byte[] bytes)` |
    `int` | `read​(byte[] bytes, int offset, int length)` |
    `void` | `setSizeLimit​(long count)` |
    `long` | `skip​(long count)` |

- - ### Method Detail

    - #### read

          int read()
            throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### read

          int read​(byte[] bytes)
            throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### read

          int read​(byte[] bytes,
                   int offset,
                   int length)
            throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### skip

          long skip​(long count)
             throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### available

          int available()
                 throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          void close()
              throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### setSizeLimit

          void setSizeLimit​(long count)

    - #### getSizeLimit

          long getSizeLimit()

      Invariant. Number of characters in stream, including any already read.
      Returns:
        -1 if no explicit limit otherwise the limit