com.espertech.esper.util
Class SimpleByteArrayInputStream
java.lang.Object
java.io.InputStream
com.espertech.esper.util.SimpleByteArrayInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class SimpleByteArrayInputStream
- extends java.io.InputStream
Input stream that relies on a simple byte array, unchecked.
Methods inherited from class java.io.InputStream |
close, mark, markSupported, read, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleByteArrayInputStream
public SimpleByteArrayInputStream(byte[] buf,
int count)
- Ctor.
- Parameters:
buf
- is the byte buffercount
- is the size of the buffer
available
public final int available()
- Overrides:
available
in class java.io.InputStream
read
public final int read()
- Specified by:
read
in class java.io.InputStream
read
public final int read(byte[] b,
int off,
int len)
- Overrides:
read
in class java.io.InputStream
skip
public final long skip(long n)
- Overrides:
skip
in class java.io.InputStream