public class PeekAheadInputStream extends RewindableInputStream
| Constructor and Description |
|---|
PeekAheadInputStream(java.io.InputStream in) |
PeekAheadInputStream(java.io.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, unreadpublic PeekAheadInputStream(java.io.InputStream in)
public PeekAheadInputStream(java.io.InputStream in,
int initialSize)
public int peek()
throws java.io.IOException
java.io.IOExceptionpublic int peek(byte[] buf)
throws java.io.IOException
java.io.IOExceptionpublic int peek(byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved