public class MarkEnforcingInputStream extends FilterInputStream
InputStreams
from overflowing their buffer by reading data past
their read limit.in
构造器和说明 |
---|
MarkEnforcingInputStream(InputStream in) |
public MarkEnforcingInputStream(@NonNull InputStream in)
public void mark(int readLimit)
mark
在类中 FilterInputStream
public int read() throws IOException
read
在类中 FilterInputStream
IOException
public int read(@NonNull byte[] buffer, int byteOffset, int byteCount) throws IOException
read
在类中 FilterInputStream
IOException
public void reset() throws IOException
reset
在类中 FilterInputStream
IOException
public long skip(long byteCount) throws IOException
skip
在类中 FilterInputStream
IOException
public int available() throws IOException
available
在类中 FilterInputStream
IOException