public class ByteArrayInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ByteArrayInputStream(Buffer buffer) |
ByteArrayInputStream(byte[] data) |
ByteArrayInputStream(byte[] data,
int offset,
int size) |
public ByteArrayInputStream(byte[] data)
public ByteArrayInputStream(Buffer buffer)
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 © 2010-2014 FuseSource, Corp.. All Rights Reserved.