public class ByteArrayInputStream extends java.io.InputStream
| Constructor and Description |
|---|
ByteArrayInputStream(byte[] data) |
ByteArrayInputStream(byte[] data,
int offset,
int size) |
ByteArrayInputStream(ByteSequence sequence) |
public ByteArrayInputStream(byte[] data)
public ByteArrayInputStream(ByteSequence sequence)
public ByteArrayInputStream(byte[] data, int offset, int size)
public int read() throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b) throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b, int off, int len)
read in class java.io.InputStreampublic long skip(long len) throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic int available()
available in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void mark(int markpos)
mark in class java.io.InputStreampublic void reset()
reset in class java.io.InputStreamCopyright © 2005-2012. All Rights Reserved.