com.twilight.h264.util
Class BufferedInputStream
java.lang.Object
java.io.InputStream
com.twilight.h264.util.FilterInputStream
com.twilight.h264.util.BufferedInputStream
- All Implemented Interfaces:
- Closeable
public class BufferedInputStream
- extends FilterInputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected volatile byte[] buf
count
protected int count
markLimit
protected int markLimit
markPos
protected int markPos
pos
protected int pos
BufferedInputStream
public BufferedInputStream(InputStream is)
BufferedInputStream
public BufferedInputStream(InputStream is,
int size)
available
public int available()
throws IOException
- Overrides:
available in class FilterInputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class FilterInputStream
- Throws:
IOException
mark
public void mark(int readLimit)
- Overrides:
mark in class FilterInputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported in class FilterInputStream
read
public int read()
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws IOException
- Overrides:
read in class FilterInputStream
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset in class FilterInputStream
- Throws:
IOException
skip
public long skip(long amount)
throws IOException
- Overrides:
skip in class FilterInputStream
- Throws:
IOException
Copyright © 2013. All Rights Reserved.