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.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
public long skip(long len) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int available()
available
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public void mark(int markpos)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
Copyright © 2005-2017. All Rights Reserved.