java.io.ByteArrayInputStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cldc-1.1-stub Show documentation
Show all versions of cldc-1.1-stub Show documentation
Stub of the Connected Limited Device Configuration v1.1
The newest version!
package java.io;
/**
* @since CLDC 1.0
*/
public class ByteArrayInputStream extends InputStream {
protected byte[] buf;
protected int count;
protected int mark;
protected int pos;
public ByteArrayInputStream(byte[] buf) {}
public ByteArrayInputStream(byte[] buf, int offset, int length) {}
public int available() {
return -1;
}
/**
* @throws IOException
*/
public void close() throws IOException {}
public void mark(int readAheadLimit) {}
public boolean markSupported() {
return false;
}
public int read() {
return -1;
}
public int read(byte[] b, int off, int len) {
return -1;
}
public void reset() {}
public long skip(long n) {
return -1;
}
}