public class PeekAheadInputStream extends RewindableInputStream
| Constructor and Description |
|---|
PeekAheadInputStream(InputStream in) |
PeekAheadInputStream(InputStream in,
int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
peek()
Peek the next byte in the stream
|
int |
peek(byte[] buf)
Peek the next bytes in the stream.
|
int |
peek(byte[] buf,
int off,
int len)
Peek the next bytes in the stream.
|
position, read, read, rewind, rewind, rewind, skipclear, shrink, unread, unreadavailable, close, mark, markSupported, reset, unreadreadpublic PeekAheadInputStream(InputStream in)
public PeekAheadInputStream(InputStream in, int initialSize)
public int peek()
throws IOException
IOExceptionpublic int peek(byte[] buf)
throws IOException
IOExceptionpublic int peek(byte[] buf,
int off,
int len)
throws IOException
IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved