Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.io.ByteArrayInputStream

Availability: JDK 1.0

public class ByteArrayInputStream extends InputStream {
   // Public Constructors
      public ByteArrayInputStream(byte[] buf);
      public ByteArrayInputStream(byte[] buf, int offset, int length);
   // Protected Instance Variables
      protected byte[] buf;
      protected int count;
1.1  protected int mark;
      protected int pos;
   // Public Instance Methods
      public synchronized int available();  // Overrides InputStream.available()
1.1  public void mark(int markpos);  // Overrides InputStream.mark()
1.1  public boolean markSupported();  // Overrides InputStream.markSupported()
      public synchronized int read();  // Defines InputStream.read()
      public synchronized int read(byte[] b, int off, int len);  // Overrides InputStream.read()
      public synchronized void reset();  // Overrides InputStream.reset()
      public synchronized long skip(long n);  // Overrides InputStream.skip()
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.