Interface BytesInputStream

All Superinterfaces:
Closable

public interface BytesInputStream extends Closable
(as InputStream does not provide some useful *interface*)
See Also:
  • Method Details

    • read

      int read() throws IOException
      Read.
      Returns:
      the int
      Throws:
      IOException - the open exception
    • read

      int read(byte[] b) throws IOException
      Read.
      Parameters:
      b - the b
      Returns:
      the int
      Throws:
      IOException - the open exception
    • read

      int read(byte[] b, int off, int len) throws IOException
      Read.
      Parameters:
      b - the b
      off - the off
      len - the len
      Returns:
      the int
      Throws:
      IOException - the open exception
    • skip

      long skip(long n) throws IOException
      Skip.
      Parameters:
      n - the n
      Returns:
      the long
      Throws:
      IOException - the open exception
    • available

      int available() throws IOException
      Availability.
      Returns:
      the int
      Throws:
      IOException - the open exception
    • mark

      void mark(int readlimit)
      Mark.
      Parameters:
      readlimit - the readlimit
    • reset

      void reset() throws IOException
      Reset.
      Throws:
      IOException - the open exception
    • markSupported

      boolean markSupported()
      Mark supported.
      Returns:
      true, if successful